Skip to content

Commit

Permalink
fix(Salesforce Node): Fix issue with lead status not using name on up…
Browse files Browse the repository at this point in the history
…date (#3599)

* Fixed issue with lead status not using name on update

* 🔥 Remove unnecessary line

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
  • Loading branch information
Joffcom and RicardoE105 committed Jun 26, 2022
1 parent acdb4d9 commit 7ccae7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/nodes-base/nodes/Salesforce/Salesforce.node.ts
Expand Up @@ -285,10 +285,9 @@ export class Salesforce implements INodeType {
const statuses = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
for (const status of statuses) {
const statusName = status.MasterLabel;
const statusId = status.Id;
returnData.push({
name: statusName,
value: statusId,
value: statusName,
});
}
sortOptions(returnData);
Expand Down

0 comments on commit 7ccae7c

Please sign in to comment.