mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
fix(Respond to Webhook Node): Fix issue preventing the chat trigger from working (#9886)
Co-authored-by: Shireen Missi <shireen@n8n.io>
This commit is contained in:
parent
90a5fcc541
commit
9d6ad88c14
|
@ -290,7 +290,11 @@ export class RespondToWebhook implements INodeType {
|
||||||
const items = this.getInputData();
|
const items = this.getInputData();
|
||||||
const nodeVersion = this.getNode().typeVersion;
|
const nodeVersion = this.getNode().typeVersion;
|
||||||
|
|
||||||
const WEBHOOK_NODE_TYPES = ['n8n-nodes-base.webhook', 'n8n-nodes-base.formTrigger'];
|
const WEBHOOK_NODE_TYPES = [
|
||||||
|
'n8n-nodes-base.webhook',
|
||||||
|
'n8n-nodes-base.formTrigger',
|
||||||
|
'@n8n/n8n-nodes-langchain.chatTrigger',
|
||||||
|
];
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (nodeVersion >= 1.1) {
|
if (nodeVersion >= 1.1) {
|
||||||
|
|
Loading…
Reference in a new issue