fix(Webhook Node): Backward compatible form-data parsing for non-array fields (#6967)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-08-18 12:34:42 +02:00
committed by GitHub
parent 41db6371f0
commit 9455bcfef5
3 changed files with 12 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ export class Webhook extends Node {
const response: INodeExecutionData = {
json: {
headers: req.headers,
params: req.params,
params: {},
query: req.query,
body: req.body,
},
@@ -207,7 +207,7 @@ export class Webhook extends Node {
binary: {},
json: {
headers: req.headers,
params: req.params,
params: {},
query: req.query,
body: data,
},
@@ -263,7 +263,7 @@ export class Webhook extends Node {
binary: {},
json: {
headers: req.headers,
params: req.params,
params: {},
query: req.query,
body: {},
},