[v9.3.x] API: Fix delete user failure due to quota not enabled (#59879)
API: Fix delete user failure due to quota not enabled (#59875)
(cherry picked from commit 4259b6bf58)
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
This commit is contained in:
co-authored by
Sofia Papagiannaki
parent
94e5ee70a5
commit
7a7bee20af
@@ -33,7 +33,7 @@ func (s *serviceDisabled) CheckQuotaReached(ctx context.Context, targetSrv quota
|
||||
}
|
||||
|
||||
func (s *serviceDisabled) DeleteQuotaForUser(ctx context.Context, userID int64) error {
|
||||
return quota.ErrDisabled
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *serviceDisabled) RegisterQuotaReporter(e *quota.NewUsageReporter) error {
|
||||
|
||||
Reference in New Issue
Block a user