persistence: DeleteTenant чистит и tenant_ak (отзыв access key)
This commit is contained in:
@@ -183,8 +183,8 @@ func (s *TenantStore) Delete(id string) bool {
|
||||
}
|
||||
s.mu.Unlock()
|
||||
|
||||
// Удаляем из Redis асинхронно
|
||||
persistence.DeleteTenant(id)
|
||||
// Удаляем из Redis асинхронно (оба индекса: по id и по accessKey)
|
||||
persistence.DeleteTenant(id, t.AccessKey)
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user