mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Lint for no unneeded backticks (#5057) (no-changelog)
* ✨ Create rule `no-unneeded-backticks` * 👕 Enable rule * ⚡ Run rule on `cli` * ⚡ Run rule on `core` * ⚡ Run rule on `workflow` * ⚡ Rule rule on `design-system` * ⚡ Run rule on `node-dev` * ⚡ Run rule on `editor-ui` * ⚡ Run rule on `nodes-base`
This commit is contained in:
@@ -182,7 +182,7 @@ export class MicrosoftDynamicsCrm implements INodeType {
|
||||
qs.$select = 'accountid';
|
||||
}
|
||||
|
||||
responseData = await microsoftApiRequest.call(this, 'POST', `/accounts`, body, qs);
|
||||
responseData = await microsoftApiRequest.call(this, 'POST', '/accounts', body, qs);
|
||||
}
|
||||
|
||||
if (operation === 'delete') {
|
||||
@@ -230,13 +230,13 @@ export class MicrosoftDynamicsCrm implements INodeType {
|
||||
this,
|
||||
'value',
|
||||
'GET',
|
||||
`/accounts`,
|
||||
'/accounts',
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
} else {
|
||||
qs.$top = this.getNodeParameter('limit', 0);
|
||||
responseData = await microsoftApiRequest.call(this, 'GET', `/accounts`, {}, qs);
|
||||
responseData = await microsoftApiRequest.call(this, 'GET', '/accounts', {}, qs);
|
||||
responseData = responseData.value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ export class MicrosoftExcel implements INodeType {
|
||||
this,
|
||||
'value',
|
||||
'GET',
|
||||
`/drive/root/search(q='.xlsx')`,
|
||||
"/drive/root/search(q='.xlsx')",
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
@@ -529,7 +529,7 @@ export class MicrosoftExcel implements INodeType {
|
||||
this,
|
||||
'value',
|
||||
'GET',
|
||||
`/drive/root/search(q='.xlsx')`,
|
||||
"/drive/root/search(q='.xlsx')",
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
@@ -538,7 +538,7 @@ export class MicrosoftExcel implements INodeType {
|
||||
responseData = await microsoftApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/drive/root/search(q='.xlsx')`,
|
||||
"/drive/root/search(q='.xlsx')",
|
||||
{},
|
||||
qs,
|
||||
);
|
||||
|
||||
@@ -71,7 +71,7 @@ export async function msGraphSecurityApiRequest(
|
||||
}
|
||||
|
||||
export function tolerateDoubleQuotes(filterQueryParameter: string) {
|
||||
return filterQueryParameter.replace(/"/g, `'`);
|
||||
return filterQueryParameter.replace(/"/g, "'");
|
||||
}
|
||||
|
||||
export function throwOnEmptyUpdate(this: IExecuteFunctions) {
|
||||
|
||||
@@ -255,7 +255,7 @@ export class MicrosoftOutlook implements INodeType {
|
||||
body.attachments = await binaryToAttachments.call(this, attachments, items, i);
|
||||
}
|
||||
|
||||
responseData = await microsoftApiRequest.call(this, 'POST', `/messages`, body, {});
|
||||
responseData = await microsoftApiRequest.call(this, 'POST', '/messages', body, {});
|
||||
|
||||
returnData.push(responseData);
|
||||
} catch (error) {
|
||||
@@ -539,7 +539,7 @@ export class MicrosoftOutlook implements INodeType {
|
||||
saveToSentItems,
|
||||
};
|
||||
|
||||
responseData = await microsoftApiRequest.call(this, 'POST', `/sendMail`, body, {});
|
||||
responseData = await microsoftApiRequest.call(this, 'POST', '/sendMail', body, {});
|
||||
returnData.push({ success: true });
|
||||
} catch (error) {
|
||||
if (this.continueOnFail()) {
|
||||
|
||||
@@ -499,7 +499,7 @@ export class MicrosoftTeams implements INodeType {
|
||||
responseData = await microsoftApiRequest.call(
|
||||
this,
|
||||
'POST',
|
||||
`/v1.0/planner/tasks`,
|
||||
'/v1.0/planner/tasks',
|
||||
body,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user