mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-23 10:32:17 -08:00
fix(HubSpot Trigger Node): Fix issue with ticketId not being set (#9403)
This commit is contained in:
parent
1377e212c7
commit
b5c7c061b7
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue