Fix issue that it did set not supported parameters

This commit is contained in:
Jan Oberhauser 2020-10-15 08:01:30 +02:00
parent 99b637330b
commit 3ba050819a

View file

@ -660,7 +660,7 @@ export class HttpRequest implements INodeType {
let optionData: OptionData;
for (const parameterName of Object.keys(jsonParameters)) {
optionData = jsonParameters[parameterName] as OptionData;
const tempValue = this.getNodeParameter(parameterName, itemIndex, {}) as string | object;
const tempValue = this.getNodeParameter(parameterName, itemIndex, '') as string | object;
if (tempValue === '') {
// Paramter is empty so skip it
continue;