mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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:
@@ -210,7 +210,7 @@ export class Magento2 implements INodeType {
|
||||
const types = (await magentoApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/rest/default/V1/products/types`,
|
||||
'/rest/default/V1/products/types',
|
||||
)) as IDataObject[];
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
for (const type of types) {
|
||||
@@ -227,7 +227,7 @@ export class Magento2 implements INodeType {
|
||||
const { items: categories } = (await magentoApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/rest/default/V1/categories/list`,
|
||||
'/rest/default/V1/categories/list',
|
||||
{},
|
||||
{
|
||||
search_criteria: {
|
||||
@@ -260,7 +260,7 @@ export class Magento2 implements INodeType {
|
||||
const { items: attributeSets } = (await magentoApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/rest/default/V1/products/attribute-sets/sets/list`,
|
||||
'/rest/default/V1/products/attribute-sets/sets/list',
|
||||
{},
|
||||
{
|
||||
search_criteria: 0,
|
||||
@@ -439,7 +439,7 @@ export class Magento2 implements INodeType {
|
||||
this,
|
||||
'items',
|
||||
'GET',
|
||||
`/rest/default/V1/customers/search`,
|
||||
'/rest/default/V1/customers/search',
|
||||
{},
|
||||
qs as unknown as IDataObject,
|
||||
);
|
||||
@@ -449,7 +449,7 @@ export class Magento2 implements INodeType {
|
||||
responseData = await magentoApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/rest/default/V1/customers/search`,
|
||||
'/rest/default/V1/customers/search',
|
||||
{},
|
||||
qs as unknown as IDataObject,
|
||||
);
|
||||
@@ -617,7 +617,7 @@ export class Magento2 implements INodeType {
|
||||
this,
|
||||
'items',
|
||||
'GET',
|
||||
`/rest/default/V1/orders`,
|
||||
'/rest/default/V1/orders',
|
||||
{},
|
||||
qs as unknown as IDataObject,
|
||||
);
|
||||
@@ -627,7 +627,7 @@ export class Magento2 implements INodeType {
|
||||
responseData = await magentoApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/rest/default/V1/orders`,
|
||||
'/rest/default/V1/orders',
|
||||
{},
|
||||
qs as unknown as IDataObject,
|
||||
);
|
||||
@@ -739,7 +739,7 @@ export class Magento2 implements INodeType {
|
||||
this,
|
||||
'items',
|
||||
'GET',
|
||||
`/rest/default/V1/products`,
|
||||
'/rest/default/V1/products',
|
||||
{},
|
||||
qs as unknown as IDataObject,
|
||||
);
|
||||
@@ -749,7 +749,7 @@ export class Magento2 implements INodeType {
|
||||
responseData = await magentoApiRequest.call(
|
||||
this,
|
||||
'GET',
|
||||
`/rest/default/V1/products`,
|
||||
'/rest/default/V1/products',
|
||||
{},
|
||||
qs as unknown as IDataObject,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user