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:
Dana 2025-05-29 11:55:46 +02:00 committed by GitHub
parent bc66d9fb7d
commit 636e9f463f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,