From 636e9f463fd7ee600e529649e31fdbbfc30234e2 Mon Sep 17 00:00:00 2001 From: Dana <152518854+dana-gill@users.noreply.github.com> Date: Thu, 29 May 2025 11:55:46 +0200 Subject: [PATCH] fix(n8n Form Node): Use execution.mode instead of hard coding webhook (#15647) Co-authored-by: Michael Kret Co-authored-by: Roman Davydchuk --- packages/cli/src/webhooks/waiting-webhooks.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/cli/src/webhooks/waiting-webhooks.ts b/packages/cli/src/webhooks/waiting-webhooks.ts index b4a6d66c0b5..75a2815a073 100644 --- a/packages/cli/src/webhooks/waiting-webhooks.ts +++ b/packages/cli/src/webhooks/waiting-webhooks.ts @@ -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,