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);