1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-10-26 13:29:14 +03:00

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 कारतोफ्फेलस्क्रिप्ट™
parent aae84a6233
commit e71ff76a84

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;