mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-24 11:02:12 -08:00
🐛 Wait also for webhook call if webhook node gets executed directly
This commit is contained in:
parent
edf216ba24
commit
247e4d5c6f
|
@ -76,6 +76,8 @@ export function getWorkflowWebhooks(workflow: Workflow, additionalData: IWorkflo
|
|||
let parentNodes: string[] | undefined;
|
||||
if (destinationNode !== undefined) {
|
||||
parentNodes = workflow.getParentNodes(destinationNode);
|
||||
// Also add the destination node in case it itself is a webhook node
|
||||
parentNodes.push(destinationNode);
|
||||
}
|
||||
|
||||
for (const node of Object.values(workflow.nodes)) {
|
||||
|
|
Loading…
Reference in a new issue