mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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:
@@ -189,7 +189,7 @@ export class ConvertKit implements INodeType {
|
||||
if (operation === 'getAll') {
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
|
||||
responseData = await convertKitApiRequest.call(this, 'GET', `/custom_fields`);
|
||||
responseData = await convertKitApiRequest.call(this, 'GET', '/custom_fields');
|
||||
|
||||
responseData = responseData.custom_fields;
|
||||
|
||||
@@ -256,7 +256,7 @@ export class ConvertKit implements INodeType {
|
||||
if (operation === 'getAll') {
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
|
||||
responseData = await convertKitApiRequest.call(this, 'GET', `/forms`);
|
||||
responseData = await convertKitApiRequest.call(this, 'GET', '/forms');
|
||||
|
||||
responseData = responseData.forms;
|
||||
|
||||
@@ -339,7 +339,7 @@ export class ConvertKit implements INodeType {
|
||||
if (operation === 'getAll') {
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
|
||||
responseData = await convertKitApiRequest.call(this, 'GET', `/sequences`);
|
||||
responseData = await convertKitApiRequest.call(this, 'GET', '/sequences');
|
||||
|
||||
responseData = responseData.courses;
|
||||
|
||||
@@ -394,7 +394,7 @@ export class ConvertKit implements INodeType {
|
||||
if (operation === 'getAll') {
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
|
||||
responseData = await convertKitApiRequest.call(this, 'GET', `/tags`);
|
||||
responseData = await convertKitApiRequest.call(this, 'GET', '/tags');
|
||||
|
||||
responseData = responseData.tags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user