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
This commit is contained in:
Marcus 2023-08-17 16:53:18 +02:00 committed by GitHub
parent 8f8a1de3dd
commit 9b27878d8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;