mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -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,
|
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) {
|
if (updateFields.closeDate) {
|
||||||
body.properties.push({
|
body.properties.push({
|
||||||
name: 'closedate',
|
name: 'closedate',
|
||||||
|
|
Loading…
Reference in a new issue