Skip to content

Commit

Permalink
fix: Ignore additional fields in Airtable when determining whether to…
Browse files Browse the repository at this point in the history
… update a record or not
  • Loading branch information
zetavg committed Dec 9, 2023
1 parent eefc697 commit cb9a0f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/integration-airtable/lib/syncWithAirtable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1397,9 +1397,7 @@ function hasRecordFieldsChanges(
fields1: Record<string, unknown>,
fields2: Record<string, unknown>,
) {
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 (
Expand Down

0 comments on commit cb9a0f3

Please sign in to comment.