mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -303,7 +303,7 @@ export class Salesforce implements INodeType {
|
|||||||
async getCaseOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCaseOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
const qsQueues = {
|
const qsQueues = {
|
||||||
q: "SELECT Queue.Id, Queue.Name FROM QueuesObject where Queue.Type='Queue' and SobjectType = 'Case'",
|
q: 'SELECT Queue.Id, Queue.Name FROM QueuesObject where Queue.Type=\'Queue\' and SobjectType = \'Case\'',
|
||||||
};
|
};
|
||||||
const queues = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qsQueues);
|
const queues = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qsQueues);
|
||||||
for (const queue of queues) {
|
for (const queue of queues) {
|
||||||
@@ -335,7 +335,7 @@ export class Salesforce implements INodeType {
|
|||||||
async getLeadOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLeadOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
const qsQueues = {
|
const qsQueues = {
|
||||||
q: "SELECT Queue.Id, Queue.Name FROM QueuesObject where Queue.Type='Queue' and SobjectType = 'Lead'",
|
q: 'SELECT Queue.Id, Queue.Name FROM QueuesObject where Queue.Type=\'Queue\' and SobjectType = \'Lead\'',
|
||||||
};
|
};
|
||||||
const queues = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qsQueues);
|
const queues = await salesforceApiRequestAllItems.call(this, 'records', 'GET', '/query', {}, qsQueues);
|
||||||
for (const queue of queues) {
|
for (const queue of queues) {
|
||||||
|
|||||||
Reference in New Issue
Block a user