Browse Source

refactor(nocodb): return pagedResponse

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
aa7dccdb88
  1. 2
      packages/nocodb/src/lib/controllers/publicControllers/publicData.ctl.ts

2
packages/nocodb/src/lib/controllers/publicControllers/publicData.ctl.ts

@ -11,7 +11,7 @@ export async function dataList(req: Request, res: Response) {
password: req.headers?.['xc-password'] as string, password: req.headers?.['xc-password'] as string,
sharedViewUuid: req.params.sharedViewUuid, sharedViewUuid: req.params.sharedViewUuid,
}); });
res.json({ data: pagedResponse }); res.json(pagedResponse);
} }
// todo: Handle the error case where view doesnt belong to model // todo: Handle the error case where view doesnt belong to model

Loading…
Cancel
Save