fix: resolve issue with filter API for active status (#1764)
This commit is contained in:
parent
982915b85e
commit
fb52109f9f
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue