mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
fix(HubSpot Trigger Node): Fix issue with ticketId not being set (#9403)
This commit is contained in:
@@ -447,6 +447,9 @@ export class HubspotTrigger implements INodeType {
|
|||||||
if (subscriptionType.includes('deal')) {
|
if (subscriptionType.includes('deal')) {
|
||||||
bodyData[i].dealId = bodyData[i].objectId;
|
bodyData[i].dealId = bodyData[i].objectId;
|
||||||
}
|
}
|
||||||
|
if (subscriptionType.includes('ticket')) {
|
||||||
|
bodyData[i].ticketId = bodyData[i].objectId;
|
||||||
|
}
|
||||||
delete bodyData[i].objectId;
|
delete bodyData[i].objectId;
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user