Browse Source

refactor(nocodb): add PagedResponseImpl to hookFilterList

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
5dc2c9e420
  1. 8
      packages/nocodb/src/lib/controllers/filter.ctl.ts

8
packages/nocodb/src/lib/controllers/filter.ctl.ts

@ -53,9 +53,11 @@ export async function filterDelete(req: Request, res: Response) {
export async function hookFilterList(req: Request, res: Response) {
res.json(
await filterService.hookFilterList({
hookId: req.params.hookId,
})
new PagedResponseImpl(
await filterService.hookFilterList({
hookId: req.params.hookId,
})
)
);
}

Loading…
Cancel
Save