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:
@@ -253,7 +253,7 @@ export class Zulip implements INodeType {
|
||||
body.include_owner_subscribed = additionalFields.includeOwnersubscribed as boolean;
|
||||
}
|
||||
|
||||
responseData = await zulipApiRequest.call(this, 'GET', `/streams`, body);
|
||||
responseData = await zulipApiRequest.call(this, 'GET', '/streams', body);
|
||||
responseData = responseData.streams;
|
||||
}
|
||||
|
||||
@@ -264,7 +264,7 @@ export class Zulip implements INodeType {
|
||||
body.include_subscribers = additionalFields.includeSubscribers as boolean;
|
||||
}
|
||||
|
||||
responseData = await zulipApiRequest.call(this, 'GET', `/users/me/subscriptions`, body);
|
||||
responseData = await zulipApiRequest.call(this, 'GET', '/users/me/subscriptions', body);
|
||||
responseData = responseData.subscriptions;
|
||||
}
|
||||
|
||||
@@ -326,7 +326,7 @@ export class Zulip implements INodeType {
|
||||
responseData = await zulipApiRequest.call(
|
||||
this,
|
||||
'POST',
|
||||
`/users/me/subscriptions`,
|
||||
'/users/me/subscriptions',
|
||||
body,
|
||||
);
|
||||
}
|
||||
@@ -421,7 +421,7 @@ export class Zulip implements INodeType {
|
||||
additionalFields.includeCustomProfileFields as boolean;
|
||||
}
|
||||
|
||||
responseData = await zulipApiRequest.call(this, 'GET', `/users`, body);
|
||||
responseData = await zulipApiRequest.call(this, 'GET', '/users', body);
|
||||
responseData = responseData.members;
|
||||
}
|
||||
|
||||
@@ -431,7 +431,7 @@ export class Zulip implements INodeType {
|
||||
body.full_name = this.getNodeParameter('fullName', i) as string;
|
||||
body.short_name = this.getNodeParameter('shortName', i) as string;
|
||||
|
||||
responseData = await zulipApiRequest.call(this, 'POST', `/users`, body);
|
||||
responseData = await zulipApiRequest.call(this, 'POST', '/users', body);
|
||||
}
|
||||
|
||||
if (operation === 'update') {
|
||||
|
||||
Reference in New Issue
Block a user