diff --git a/packages/nocodb/src/lib/controllers/filter.ctl.ts b/packages/nocodb/src/lib/controllers/filter.ctl.ts index bef2b240e1..b8c220d723 100644 --- a/packages/nocodb/src/lib/controllers/filter.ctl.ts +++ b/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, + }) + ) ); }