fix: resolve issue with filter API for active status (#1764)

This commit is contained in:
Warunee Tamkoo 2025-08-20 16:06:00 +07:00
parent 982915b85e
commit fb52109f9f

View file

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