Skip to content

Commit

Permalink
integration-airtable: do not update blank notes to undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
zetavg committed Nov 26, 2023
1 parent d05920b commit b45008d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/integration-airtable/lib/conversions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ export async function airtableRecordToItem(

if (airtableItemsTableFields.Notes) {
const value = record.fields.Notes;
item.notes = typeof value === 'string' ? value : undefined;
item.notes =
typeof value === 'string' ? value : !item.notes ? item.notes : undefined;
}

if (airtableItemsTableFields['Model Name']) {
Expand Down

0 comments on commit b45008d

Please sign in to comment.