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:
@@ -29,7 +29,7 @@ export async function mailchimpApiRequest(
|
||||
method,
|
||||
qs,
|
||||
body,
|
||||
url: ``,
|
||||
url: '',
|
||||
json: true,
|
||||
};
|
||||
|
||||
|
||||
@@ -2119,7 +2119,7 @@ export class Mailchimp implements INodeType {
|
||||
if (returnAll) {
|
||||
responseData = await mailchimpApiRequestAllItems.call(
|
||||
this,
|
||||
`/campaigns`,
|
||||
'/campaigns',
|
||||
'GET',
|
||||
'campaigns',
|
||||
{},
|
||||
@@ -2127,7 +2127,7 @@ export class Mailchimp implements INodeType {
|
||||
);
|
||||
} else {
|
||||
qs.count = this.getNodeParameter('limit', i);
|
||||
responseData = await mailchimpApiRequest.call(this, `/campaigns`, 'GET', {}, qs);
|
||||
responseData = await mailchimpApiRequest.call(this, '/campaigns', 'GET', {}, qs);
|
||||
responseData = responseData.campaigns;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user