mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
API: Fix delete user failure due to quota not enabled (#59875)
This commit is contained in:
parent
3978502d83
commit
4259b6bf58
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user