mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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:
45851
package-lock.json
generated
45851
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -2184,6 +2184,9 @@ export class Salesforce implements INodeType {
|
|||||||
if (additionalFields.reason !== undefined) {
|
if (additionalFields.reason !== undefined) {
|
||||||
body.Reason = additionalFields.reason as string;
|
body.Reason = additionalFields.reason as string;
|
||||||
}
|
}
|
||||||
|
if (additionalFields.status !== undefined) {
|
||||||
|
body.Status = additionalFields.status as string;
|
||||||
|
}
|
||||||
if (additionalFields.owner !== undefined) {
|
if (additionalFields.owner !== undefined) {
|
||||||
body.OwnerId = additionalFields.owner as string;
|
body.OwnerId = additionalFields.owner as string;
|
||||||
}
|
}
|
||||||
@@ -2248,6 +2251,9 @@ export class Salesforce implements INodeType {
|
|||||||
if (updateFields.reason !== undefined) {
|
if (updateFields.reason !== undefined) {
|
||||||
body.Reason = updateFields.reason as string;
|
body.Reason = updateFields.reason as string;
|
||||||
}
|
}
|
||||||
|
if (updateFields.status !== undefined) {
|
||||||
|
body.Status = updateFields.status as string;
|
||||||
|
}
|
||||||
if (updateFields.owner !== undefined) {
|
if (updateFields.owner !== undefined) {
|
||||||
body.OwnerId = updateFields.owner as string;
|
body.OwnerId = updateFields.owner as string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user