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:
Elias Meire 2023-11-10 11:10:11 +01:00 committed by GitHub
parent 00dff50140
commit 3c0734bd2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',