From 5ef484dce4792cf411a72568bfb3df38425acd0e Mon Sep 17 00:00:00 2001 From: kittapath Date: Wed, 27 Nov 2024 15:37:39 +0700 Subject: [PATCH] no message --- src/controllers/ApiKeyController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**