Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove krystal earn balance #1402

Merged
merged 1 commit into from
Jun 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: remove krystal earn balance
phucledien committed Jun 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit dd36e19b6c4f40dd2568788e71cc5f8ec505dfef
8 changes: 0 additions & 8 deletions pkg/job/cache_profile_commands.go
Original file line number Diff line number Diff line change
@@ -88,14 +88,6 @@ func (j *cacheProfileCommands) Run() error {
wg.Done()
}(u)

go func(u model.CommandUsageCounter) {
_, err = j.entity.GetSvc().MochiPay.GetProfileKrystalEarnBalances(u.ProfileId)
if err != nil {
l.Error(err, "svc.MochiPay.GetProfileKrystalEarnBalances() failed")
}
wg.Done()
}(u)

go func(u model.CommandUsageCounter) {
_, err = j.entity.GetVaults(request.GetVaultsRequest{ProfileID: u.ProfileId})
if err != nil {
Loading