Skip to content

Commit

Permalink
fix(tiphereth): fix user capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 committed Mar 15, 2024
1 parent 895d320 commit 4af5634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/sephirah/internal/biz/biztiphereth/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (t *Tiphereth) checkCapacity(ctx context.Context) *errors.Error {
if err != nil {
return pb.ErrorErrorReasonForbidden("server have invalid setting")
}
count, err := t.userCountCache.Get(ctx)
count, err := t.userCountCache.GetWithFallBack(ctx, nil)
if err != nil {
return pb.ErrorErrorReasonUnspecified("%s", err)
}
Expand Down

0 comments on commit 4af5634

Please sign in to comment.