From 9b27878d8fe8755d76d09db07be01bcab83b8772 Mon Sep 17 00:00:00 2001 From: Marcus <56945030+maspio@users.noreply.github.com> Date: Thu, 17 Aug 2023 16:53:18 +0200 Subject: [PATCH] fix(Salesforce Node): Fix Account update owner operation (#6958) Github issue / Community forum post (link here to close automatically): https://community.n8n.io/t/cannot-update-salesforce-account-owner/27514 --- packages/nodes-base/nodes/Salesforce/Salesforce.node.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts b/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts index fff4bb6e69..976f65f894 100644 --- a/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts +++ b/packages/nodes-base/nodes/Salesforce/Salesforce.node.ts @@ -2213,8 +2213,8 @@ export class Salesforce implements INodeType { if (updateFields.phone !== undefined) { body.Phone = updateFields.phone as string; } - if (updateFields.owner !== undefined) { - body.OwnerId = updateFields.owner as string; + if (updateFields.ownerId !== undefined) { + body.OwnerId = updateFields.ownerId as string; } if (updateFields.sicDesc !== undefined) { body.SicDesc = updateFields.sicDesc as string;