fix(HubSpot Trigger Node): Fix issue with ticketId not being set (#9403)

This commit is contained in:
Jon 2024-05-16 13:38:15 +01:00 committed by GitHub
parent 1377e212c7
commit b5c7c061b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {