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:
@@ -157,7 +157,7 @@ export class Brandfetch implements INodeType {
|
||||
domain,
|
||||
};
|
||||
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', `/logo`, body);
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', '/logo', body);
|
||||
|
||||
if (download) {
|
||||
const imageTypes = this.getNodeParameter('imageTypes', i) as string[];
|
||||
@@ -219,7 +219,7 @@ export class Brandfetch implements INodeType {
|
||||
domain,
|
||||
};
|
||||
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', `/color`, body);
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', '/color', body);
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(response),
|
||||
{ itemData: { item: i } },
|
||||
@@ -233,7 +233,7 @@ export class Brandfetch implements INodeType {
|
||||
domain,
|
||||
};
|
||||
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', `/font`, body);
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', '/font', body);
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(response),
|
||||
{ itemData: { item: i } },
|
||||
@@ -247,7 +247,7 @@ export class Brandfetch implements INodeType {
|
||||
domain,
|
||||
};
|
||||
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', `/company`, body);
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', '/company', body);
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(response),
|
||||
{ itemData: { item: i } },
|
||||
@@ -261,7 +261,7 @@ export class Brandfetch implements INodeType {
|
||||
domain,
|
||||
};
|
||||
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', `/industry`, body);
|
||||
const response = await brandfetchApiRequest.call(this, 'POST', '/industry', body);
|
||||
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(response),
|
||||
|
||||
Reference in New Issue
Block a user