Skip to content

Commit

Permalink
fix(Salesforce Node): Fix Account update owner operation (#6958)
Browse files Browse the repository at this point in the history
Github issue / Community forum post (link here to close automatically):
https://community.n8n.io/t/cannot-update-salesforce-account-owner/27514
  • Loading branch information
maspio authored Aug 17, 2023
1 parent 8f8a1de commit 9b27878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nodes-base/nodes/Salesforce/Salesforce.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9b27878

Please sign in to comment.