Small fix

This commit is contained in:
Jan Oberhauser 2021-03-08 18:47:40 +01:00
parent 5da61ef252
commit 80dfa75eb5

View file

@ -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