mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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:
@@ -138,7 +138,7 @@ export class Raindrop implements INodeType {
|
||||
body.tags = (additionalFields.tags as string).split(',').map((tag) => tag.trim());
|
||||
}
|
||||
|
||||
const endpoint = `/raindrop`;
|
||||
const endpoint = '/raindrop';
|
||||
responseData = await raindropApiRequest.call(this, 'POST', endpoint, {}, body);
|
||||
responseData = responseData.item;
|
||||
} else if (operation === 'delete') {
|
||||
@@ -243,7 +243,7 @@ export class Raindrop implements INodeType {
|
||||
delete additionalFields.parentId;
|
||||
}
|
||||
|
||||
responseData = await raindropApiRequest.call(this, 'POST', `/collection`, {}, body);
|
||||
responseData = await raindropApiRequest.call(this, 'POST', '/collection', {}, body);
|
||||
responseData = responseData.item;
|
||||
} else if (operation === 'delete') {
|
||||
// ----------------------------------
|
||||
@@ -390,7 +390,7 @@ export class Raindrop implements INodeType {
|
||||
// tag: delete
|
||||
// ----------------------------------
|
||||
|
||||
let endpoint = `/tags`;
|
||||
let endpoint = '/tags';
|
||||
|
||||
const body: IDataObject = {
|
||||
tags: (this.getNodeParameter('tags', i) as string).split(','),
|
||||
@@ -408,7 +408,7 @@ export class Raindrop implements INodeType {
|
||||
// tag: getAll
|
||||
// ----------------------------------
|
||||
|
||||
let endpoint = `/tags`;
|
||||
let endpoint = '/tags';
|
||||
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user