diff --git a/api/src/auth/guards/can-modify-api-key.guard.ts b/api/src/auth/guards/can-modify-api-key.guard.ts index 02a29c5..fd51be4 100644 --- a/api/src/auth/guards/can-modify-api-key.guard.ts +++ b/api/src/auth/guards/can-modify-api-key.guard.ts @@ -26,12 +26,6 @@ export class CanModifyApiKey implements CanActivate { const apiKey = await this.authService.findApiKeyById(apiKeyId) - if (apiKey?.revokedAt) { - throw new HttpException( - { error: 'Unauthorized' }, - HttpStatus.UNAUTHORIZED, - ) - } if ( !!userId &&