Skip to content

Commit

Permalink
fix(HubSpot Trigger Node): Fix issue with ticketId not being set (#9403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joffcom authored May 16, 2024
1 parent 1377e21 commit b5c7c06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/nodes-base/nodes/Hubspot/HubspotTrigger.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b5c7c06

Please sign in to comment.