Browse Source

fix: ignore attachments feat integration error

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
feat/0523-export-schema
Raju Udava 3 years ago
parent
commit
0140d8e81a
  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 nestedRollupTbl: any[] = [];
const ncSysFields = { id: 'ncRecordId', hash: 'ncRecordHash' }; const ncSysFields = { id: 'ncRecordId', hash: 'ncRecordHash' };
const storeLinks = false; const storeLinks = false;
const skipAttachments = false;
const ncLinkDataStore: any = {}; const ncLinkDataStore: any = {};
const uniqueTableNameGen = getUniqueNameGenerator('sheet'); const uniqueTableNameGen = getUniqueNameGenerator('sheet');
@ -1315,7 +1314,7 @@ export default async (
break; break;
case UITypes.Attachment: case UITypes.Attachment:
if (skipAttachments) rec[key] = null; if (syncDB.options.syncLookup) rec[key] = null;
else { else {
const tempArr = []; const tempArr = [];
for (const v of value) { for (const v of value) {

Loading…
Cancel
Save