mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 21:37:32 -08:00
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
This commit is contained in:
parent
303bc8e71e
commit
2af967cf88
|
@ -40,9 +40,9 @@ const airtableTypesMap: TypesMap = {
|
||||||
boolean: ['checkbox'],
|
boolean: ['checkbox'],
|
||||||
dateTime: ['dateTime', 'date'],
|
dateTime: ['dateTime', 'date'],
|
||||||
time: [],
|
time: [],
|
||||||
object: ['multipleAttachments'],
|
object: [],
|
||||||
options: ['singleSelect'],
|
options: ['singleSelect'],
|
||||||
array: ['multipleSelects'],
|
array: ['multipleSelects', 'multipleAttachments'],
|
||||||
};
|
};
|
||||||
|
|
||||||
function mapForeignType(foreignType: string, typesMap: TypesMap): FieldType {
|
function mapForeignType(foreignType: string, typesMap: TypesMap): FieldType {
|
||||||
|
|
Loading…
Reference in a new issue