mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 08:46:58 +02:00
fix(n8n Form Node): Use execution.mode instead of hard coding webhook (#15647)
Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: Roman Davydchuk <roman.davydchuk@n8n.io>
This commit is contained in:
parent
bc66d9fb7d
commit
636e9f463f
|
|
@ -207,13 +207,12 @@ export class WaitingWebhooks implements IWebhookManager {
|
|||
const runExecutionData = execution.data;
|
||||
|
||||
return await new Promise((resolve, reject) => {
|
||||
const executionMode = 'webhook';
|
||||
void WebhookHelpers.executeWebhook(
|
||||
workflow,
|
||||
webhookData,
|
||||
workflowData,
|
||||
workflowStartNode,
|
||||
executionMode,
|
||||
execution.mode,
|
||||
runExecutionData.pushRef,
|
||||
runExecutionData,
|
||||
execution.id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user