mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Add last name to contact:update on Salesforce Node (#1965)
This commit is contained in:
@@ -1337,6 +1337,9 @@ export class Salesforce implements INodeType {
|
||||
if (!Object.keys(updateFields).length) {
|
||||
throw new NodeOperationError(this.getNode(), 'You must add at least one update field');
|
||||
}
|
||||
if (updateFields.lastName !== undefined) {
|
||||
body.LastName = updateFields.lastName as string;
|
||||
}
|
||||
if (updateFields.fax !== undefined) {
|
||||
body.Fax = updateFields.fax as string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user