mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Respond to Webhook Node): Node does not work with Wait node (#10992)
This commit is contained in:
@@ -8,7 +8,16 @@ import type {
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
} from 'n8n-workflow';
|
||||
import { jsonParse, BINARY_ENCODING, NodeOperationError, NodeConnectionType } from 'n8n-workflow';
|
||||
import {
|
||||
jsonParse,
|
||||
BINARY_ENCODING,
|
||||
NodeOperationError,
|
||||
NodeConnectionType,
|
||||
WEBHOOK_NODE_TYPE,
|
||||
FORM_TRIGGER_NODE_TYPE,
|
||||
CHAT_TRIGGER_NODE_TYPE,
|
||||
WAIT_NODE_TYPE,
|
||||
} from 'n8n-workflow';
|
||||
import set from 'lodash/set';
|
||||
import jwt from 'jsonwebtoken';
|
||||
import { formatPrivateKey, generatePairedItemData } from '../../utils/utilities';
|
||||
@@ -291,9 +300,10 @@ export class RespondToWebhook implements INodeType {
|
||||
const nodeVersion = this.getNode().typeVersion;
|
||||
|
||||
const WEBHOOK_NODE_TYPES = [
|
||||
'n8n-nodes-base.webhook',
|
||||
'n8n-nodes-base.formTrigger',
|
||||
'@n8n/n8n-nodes-langchain.chatTrigger',
|
||||
WEBHOOK_NODE_TYPE,
|
||||
FORM_TRIGGER_NODE_TYPE,
|
||||
CHAT_TRIGGER_NODE_TYPE,
|
||||
WAIT_NODE_TYPE,
|
||||
];
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user