Browse Source

chore: attachment log during airtable import

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2291/head
Raju Udava 3 years ago
parent
commit
a641a923c7
  1. 5
      packages/nocodb/src/lib/meta/api/sync/helpers/job.ts

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

@ -1311,6 +1311,11 @@ export default async (
let tempArr = []; let tempArr = [];
try { try {
logBasic(
` :: Retrieving attachment :: ${value
?.map(a => a.filename?.split('?')?.[0])
.join(', ')}`
);
tempArr = await api.storage.uploadByUrl( tempArr = await api.storage.uploadByUrl(
{ {
path: `noco/${sDB.projectName}/${table.title}/${key}` path: `noco/${sDB.projectName}/${table.title}/${key}`

Loading…
Cancel
Save