mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
⚡ Fix issue that it did set not supported parameters
This commit is contained in:
parent
99b637330b
commit
3ba050819a
|
@ -660,7 +660,7 @@ export class HttpRequest implements INodeType {
|
||||||
let optionData: OptionData;
|
let optionData: OptionData;
|
||||||
for (const parameterName of Object.keys(jsonParameters)) {
|
for (const parameterName of Object.keys(jsonParameters)) {
|
||||||
optionData = jsonParameters[parameterName] as OptionData;
|
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 === '') {
|
if (tempValue === '') {
|
||||||
// Paramter is empty so skip it
|
// Paramter is empty so skip it
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue