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:
@@ -92,7 +92,7 @@ export class Ghost implements INodeType {
|
||||
// select them easily
|
||||
async getAuthors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const users = await ghostApiRequestAllItems.call(this, 'users', 'GET', `/admin/users`);
|
||||
const users = await ghostApiRequestAllItems.call(this, 'users', 'GET', '/admin/users');
|
||||
for (const user of users) {
|
||||
returnData.push({
|
||||
name: user.name,
|
||||
@@ -105,7 +105,7 @@ export class Ghost implements INodeType {
|
||||
// select them easily
|
||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const tags = await ghostApiRequestAllItems.call(this, 'tags', 'GET', `/admin/tags`);
|
||||
const tags = await ghostApiRequestAllItems.call(this, 'tags', 'GET', '/admin/tags');
|
||||
for (const tag of tags) {
|
||||
returnData.push({
|
||||
name: tag.name,
|
||||
|
||||
Reference in New Issue
Block a user