API: Fix delete user failure due to quota not enabled (#59875)

This commit is contained in:
Sofia Papagiannaki
2022-12-06 15:02:01 +02:00
committed by GitHub
parent 3978502d83
commit 4259b6bf58
+1 -1
View File
@@ -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 {