diff --git a/model/cache.go b/model/cache.go index 297df153..04a60348 100644 --- a/model/cache.go +++ b/model/cache.go @@ -94,7 +94,7 @@ func CacheUpdateUserQuota(id int) error { if !common.RedisEnabled { return nil } - quota, err := GetUserQuota(id) + quota, err := CacheGetUserQuota(id) if err != nil { return err }