From cb9a0f39b44664dd9d048cf03e0e53d4b48eb88a Mon Sep 17 00:00:00 2001 From: zetavg Date: Fri, 8 Dec 2023 23:48:59 +0800 Subject: [PATCH] fix: Ignore additional fields in Airtable when determining whether to update a record or not --- packages/integration-airtable/lib/syncWithAirtable.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/integration-airtable/lib/syncWithAirtable.ts b/packages/integration-airtable/lib/syncWithAirtable.ts index e945637e..9b9790a7 100644 --- a/packages/integration-airtable/lib/syncWithAirtable.ts +++ b/packages/integration-airtable/lib/syncWithAirtable.ts @@ -1397,9 +1397,7 @@ function hasRecordFieldsChanges( fields1: Record, fields2: Record, ) { - const keys = Array.from( - new Set([...Object.keys(fields1), ...Object.keys(fields2)]), - ); + const keys = Array.from(new Set(Object.keys(fields2))); for (const key of keys) { if (