mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(HubSpot Node): Update deal owner on Hubspot Deal (#7673)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
parent
00dff50140
commit
3c0734bd2d
|
@ -2358,6 +2358,13 @@ export class HubspotV2 implements INodeType {
|
|||
value: updateFields.dealName as string,
|
||||
});
|
||||
}
|
||||
if (updateFields.dealOwner) {
|
||||
const dealOwner = updateFields.dealOwner as IDataObject;
|
||||
body.properties.push({
|
||||
name: 'hubspot_owner_id',
|
||||
value: dealOwner.value,
|
||||
});
|
||||
}
|
||||
if (updateFields.closeDate) {
|
||||
body.properties.push({
|
||||
name: 'closedate',
|
||||
|
|
Loading…
Reference in a new issue