mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(Webhook Node): Fix URL params for webhooks (#6986)
Fixes: https://community.n8n.io/t/empty-params-variables-in-webhook-node-after-upgrading-to-n8n-1-3-1/29624
This commit is contained in:
committed by
GitHub
parent
87cf1d9c1b
commit
596b5695cd
@@ -127,7 +127,7 @@ export class Webhook extends Node {
|
||||
const response: INodeExecutionData = {
|
||||
json: {
|
||||
headers: req.headers,
|
||||
params: {},
|
||||
params: req.params,
|
||||
query: req.query,
|
||||
body: req.body,
|
||||
},
|
||||
@@ -207,7 +207,7 @@ export class Webhook extends Node {
|
||||
binary: {},
|
||||
json: {
|
||||
headers: req.headers,
|
||||
params: {},
|
||||
params: req.params,
|
||||
query: req.query,
|
||||
body: data,
|
||||
},
|
||||
@@ -263,7 +263,7 @@ export class Webhook extends Node {
|
||||
binary: {},
|
||||
json: {
|
||||
headers: req.headers,
|
||||
params: {},
|
||||
params: req.params,
|
||||
query: req.query,
|
||||
body: {},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user