mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Salesforce Node): Fix issue that "status" did not get used for Case => Create & Update (#2212)
* bugfix for salesforce case create and update case not picking status * 🐛 Fix issue with package-lock.json Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
This commit is contained in:
@@ -2184,6 +2184,9 @@ export class Salesforce implements INodeType {
|
||||
if (additionalFields.reason !== undefined) {
|
||||
body.Reason = additionalFields.reason as string;
|
||||
}
|
||||
if (additionalFields.status !== undefined) {
|
||||
body.Status = additionalFields.status as string;
|
||||
}
|
||||
if (additionalFields.owner !== undefined) {
|
||||
body.OwnerId = additionalFields.owner as string;
|
||||
}
|
||||
@@ -2248,6 +2251,9 @@ export class Salesforce implements INodeType {
|
||||
if (updateFields.reason !== undefined) {
|
||||
body.Reason = updateFields.reason as string;
|
||||
}
|
||||
if (updateFields.status !== undefined) {
|
||||
body.Status = updateFields.status as string;
|
||||
}
|
||||
if (updateFields.owner !== undefined) {
|
||||
body.OwnerId = updateFields.owner as string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user