From fb52109f9fbbe1fcbb5179c6176964aae185bde6 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 20 Aug 2025 16:06:00 +0700 Subject: [PATCH] fix: resolve issue with filter API for active status (#1764) --- src/controllers/ApiKeyController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/ApiKeyController.ts b/src/controllers/ApiKeyController.ts index ce9e312d..9f07de97 100644 --- a/src/controllers/ApiKeyController.ts +++ b/src/controllers/ApiKeyController.ts @@ -124,6 +124,7 @@ export class ApiKeyController extends Controller { @Get("name") async listApiName() { const apiName = await this.apiNameRepository.find({ + where: { isActive: true }, order: { createdAt: "DESC" }, }); return new HttpSuccess(apiName);