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 and netroy committed Aug 18, 2023
1 parent c80163f commit ffd3ef5
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 ffd3ef5

Please sign in to comment.