Browse Source

fix: attachment conditional inclusion error

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2218/head
Raju Udava 3 years ago committed by Pranav C
parent
commit
6c2788e9ae
  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

@ -1366,7 +1366,7 @@ export default async (
break;
case UITypes.Attachment:
if (syncDB.options.syncLookup) rec[key] = null;
if (!syncDB.options.syncAttachment) rec[key] = null;
else {
const tempArr = [];
for (const v of value) {

Loading…
Cancel
Save