mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-09-28 12:41:45 +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:
co-authored by
Michael Kret
Roman Davydchuk
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,
|
||||
|
||||
Reference in New Issue
Block a user