mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
⚡ Small fix
This commit is contained in:
parent
5da61ef252
commit
80dfa75eb5
|
@ -50,7 +50,7 @@ export function createDataFromParameters(this: IExecuteFunctions | IExecuteSingl
|
|||
|
||||
if (dataFieldsAreJson) {
|
||||
// Parameters are defined as JSON
|
||||
return JSON.parse(this.getNodeParameter('dataFieldsJson', itemIndex, '') as string);
|
||||
return JSON.parse(this.getNodeParameter('dataFieldsJson', itemIndex, '{}') as string);
|
||||
}
|
||||
|
||||
// Parameters are defined in UI
|
||||
|
|
Loading…
Reference in a new issue