1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-10-07 10:07:19 +03: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:
Ketan Somvanshi 2022-04-02 14:15:20 +05:30 committed by GitHub
parent c50d04af9e
commit 1018146f21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 45851 deletions

45851
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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