From b5c7c061b7e854a06bd725f7905a7f3ac8dfedc2 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 16 May 2024 13:38:15 +0100 Subject: [PATCH] fix(HubSpot Trigger Node): Fix issue with ticketId not being set (#9403) --- packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts b/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts index 63bd7905fa..aed2bc704d 100644 --- a/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts +++ b/packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts @@ -447,6 +447,9 @@ export class HubspotTrigger implements INodeType { if (subscriptionType.includes('deal')) { bodyData[i].dealId = bodyData[i].objectId; } + if (subscriptionType.includes('ticket')) { + bodyData[i].ticketId = bodyData[i].objectId; + } delete bodyData[i].objectId; } return {