mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -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) {
|
if (dataFieldsAreJson) {
|
||||||
// Parameters are defined as JSON
|
// 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
|
// Parameters are defined in UI
|
||||||
|
|
Loading…
Reference in a new issue