Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zetavg committed Nov 26, 2023
1 parent da98338 commit d05920b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integration-airtable/lib/conversions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ export async function airtableRecordToItem(
}

// For convenience, set the collection_id to container's collection_id if it's not set.
if (!item.collection && typeof item.container_id === 'string') {
if (!item.collection_id && typeof item.container_id === 'string') {
const container = (await getData('item', [item.container_id]))[0];
const containerCollectionId = container?.collection_id;
if (typeof containerCollectionId === 'string') {
Expand Down

0 comments on commit d05920b

Please sign in to comment.