mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-24 23:22:38 +08:00
⚡ Small fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user