Skip to content

Commit

Permalink
fix: remove krystal earn balance (#1402)
Browse files Browse the repository at this point in the history
  • Loading branch information
phucledien authored Jun 9, 2024
1 parent 2fd6b99 commit aa011e2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/job/cache_profile_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aa011e2

Please sign in to comment.