Browse Source

fix: extract correct filename by excluding query params

Signed-off-by: Pranav C <pranavxc@gmail.com>
feat/0523-export-schema
Pranav C 3 years ago committed by Raju Udava
parent
commit
76500b6121
  1. 2
      packages/nocodb/src/lib/noco/meta/api/sync/helpers/job.ts

2
packages/nocodb/src/lib/noco/meta/api/sync/helpers/job.ts

@ -1416,7 +1416,7 @@ export default async (
path: `noco/${sDB.projectName}/${table.title}/${key}`
},
value?.map(attachment => ({
fileName: attachment.filename,
fileName: attachment.filename?.split('?')?.[0],
url: attachment.url,
size: attachment.size,
mimetype: attachment.type

Loading…
Cancel
Save