mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00: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:
committed by
GitHub
parent
acdb4d92c8
commit
7ccae7c9b2
@@ -285,10 +285,9 @@ export class Salesforce implements INodeType {
|
|||||||
const statuses = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
|
const statuses = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qs);
|
||||||
for (const status of statuses) {
|
for (const status of statuses) {
|
||||||
const statusName = status.MasterLabel;
|
const statusName = status.MasterLabel;
|
||||||
const statusId = status.Id;
|
|
||||||
returnData.push({
|
returnData.push({
|
||||||
name: statusName,
|
name: statusName,
|
||||||
value: statusId,
|
value: statusName,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
|
|||||||
Reference in New Issue
Block a user