Browse Source

refactor(nocodb): add PagedResponseImpl to hookFilterList

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

2
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) { export async function hookFilterList(req: Request, res: Response) {
res.json( res.json(
new PagedResponseImpl(
await filterService.hookFilterList({ await filterService.hookFilterList({
hookId: req.params.hookId, hookId: req.params.hookId,
}) })
)
); );
} }

Loading…
Cancel
Save