From ebfcc879ca8750d402f20079f945dfc3931b5419 Mon Sep 17 00:00:00 2001 From: Michael Kret <88898367+michael-radency@users.noreply.github.com> Date: Thu, 21 Sep 2023 15:00:41 +0300 Subject: [PATCH] fix(Airtable Node): Attachments field type fix (#7227) Github issue / Community forum post (link here to close automatically): https://community.n8n.io/t/possible-airtable-bug-when-creating-attachment-record/29288 --- .../nodes-base/nodes/Airtable/v2/methods/resourceMapping.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nodes-base/nodes/Airtable/v2/methods/resourceMapping.ts b/packages/nodes-base/nodes/Airtable/v2/methods/resourceMapping.ts index abe6b9030363e..82460382bfe45 100644 --- a/packages/nodes-base/nodes/Airtable/v2/methods/resourceMapping.ts +++ b/packages/nodes-base/nodes/Airtable/v2/methods/resourceMapping.ts @@ -40,9 +40,9 @@ const airtableTypesMap: TypesMap = { boolean: ['checkbox'], dateTime: ['dateTime', 'date'], time: [], - object: ['multipleAttachments'], + object: [], options: ['singleSelect'], - array: ['multipleSelects'], + array: ['multipleSelects', 'multipleAttachments'], }; function mapForeignType(foreignType: string, typesMap: TypesMap): FieldType {