mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
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:
parent
acdb4d92c8
commit
7ccae7c9b2
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue