Browse Source

chore(nocodb): add comment

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

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

@ -31,6 +31,7 @@ async function dataInsert(req: Request & { files: any[] }, res: Response) {
password: req.headers?.['xc-password'] as string, password: req.headers?.['xc-password'] as string,
body: req.body?.data, body: req.body?.data,
siteUrl: (req as any).ncSiteUrl, siteUrl: (req as any).ncSiteUrl,
// req.files is enriched by multer
files: req.files, files: req.files,
}); });

Loading…
Cancel
Save