fix(Salesforce Node): Fix issue with lead status not using name on update (#3599)

* Fixed issue with lead status not using name on update

* 🔥 Remove unnecessary line

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
This commit is contained in:
Jonathan Bennetts 2022-06-26 05:16:06 +01:00 committed by GitHub
parent acdb4d92c8
commit 7ccae7c9b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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