mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08: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:
parent
c50d04af9e
commit
1018146f21
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) {
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue