diff --git a/src/controllers/ApiKeyController.ts b/src/controllers/ApiKeyController.ts index f84a315e..15efda47 100644 --- a/src/controllers/ApiKeyController.ts +++ b/src/controllers/ApiKeyController.ts @@ -62,7 +62,7 @@ export class ApiKeyController extends Controller { apiKey.createdAt = new Date(); apiKey.lastUpdatedAt = new Date(); await this.apiKeyRepository.save(apiKey); - return new HttpSuccess(); + return new HttpSuccess(apiKey.keyApi); } /**