Replace some fallback values to match the value type (#1421)

This commit is contained in:
lublak
2021-03-08 18:45:35 +01:00
committed by GitHub
parent 5a214fb4aa
commit 5da61ef252
6 changed files with 8 additions and 8 deletions

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