🐛 Fix typo in Saleforce Node (#2534)

This commit is contained in:
Jascha Lülsdorf
2021-12-11 10:30:20 +01:00
committed by GitHub
parent 1854d505b8
commit 76d79a6256

View File

@@ -1744,8 +1744,8 @@ export class Salesforce implements INodeType {
if (additionalFields.type !== undefined) {
body.Type = additionalFields.type as string;
}
if (additionalFields.ammount !== undefined) {
body.Amount = additionalFields.ammount as number;
if (additionalFields.amount !== undefined) {
body.Amount = additionalFields.amount as number;
}
if (additionalFields.owner !== undefined) {
body.OwnerId = additionalFields.owner as string;
@@ -1813,8 +1813,8 @@ export class Salesforce implements INodeType {
if (updateFields.type !== undefined) {
body.Type = updateFields.type as string;
}
if (updateFields.ammount !== undefined) {
body.Amount = updateFields.ammount as number;
if (updateFields.amount !== undefined) {
body.Amount = updateFields.amount as number;
}
if (updateFields.owner !== undefined) {
body.OwnerId = updateFields.owner as string;