Browse Source

fix: ignore attachments feat integration error

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

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

@ -81,7 +81,6 @@ export default async (
const nestedRollupTbl: any[] = [];
const ncSysFields = { id: 'ncRecordId', hash: 'ncRecordHash' };
const storeLinks = false;
const skipAttachments = false;
const ncLinkDataStore: any = {};
const uniqueTableNameGen = getUniqueNameGenerator('sheet');
@ -1315,7 +1314,7 @@ export default async (
break;
case UITypes.Attachment:
if (skipAttachments) rec[key] = null;
if (syncDB.options.syncLookup) rec[key] = null;
else {
const tempArr = [];
for (const v of value) {

Loading…
Cancel
Save