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:
@@ -194,7 +194,7 @@ export class SentryIo implements INodeType {
|
||||
const organizations = await sentryApiRequestAllItems.call(
|
||||
this,
|
||||
'GET',
|
||||
`/api/0/organizations/`,
|
||||
'/api/0/organizations/',
|
||||
{},
|
||||
);
|
||||
|
||||
@@ -220,7 +220,7 @@ export class SentryIo implements INodeType {
|
||||
// Get all projects so can be displayed easily
|
||||
async getProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const projects = await sentryApiRequestAllItems.call(this, 'GET', `/api/0/projects/`, {});
|
||||
const projects = await sentryApiRequestAllItems.call(this, 'GET', '/api/0/projects/', {});
|
||||
|
||||
const organizationSlug = this.getNodeParameter('organizationSlug') as string;
|
||||
|
||||
@@ -408,7 +408,7 @@ export class SentryIo implements INodeType {
|
||||
if (operation === 'getAll') {
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i);
|
||||
const endpoint = `/api/0/organizations/`;
|
||||
const endpoint = '/api/0/organizations/';
|
||||
|
||||
if (additionalFields.member) {
|
||||
qs.member = additionalFields.member as boolean;
|
||||
@@ -437,7 +437,7 @@ export class SentryIo implements INodeType {
|
||||
const name = this.getNodeParameter('name', i) as string;
|
||||
const agreeTerms = this.getNodeParameter('agreeTerms', i) as boolean;
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i);
|
||||
const endpoint = `/api/0/organizations/`;
|
||||
const endpoint = '/api/0/organizations/';
|
||||
|
||||
qs.name = name;
|
||||
qs.agreeTerms = agreeTerms;
|
||||
@@ -481,7 +481,7 @@ export class SentryIo implements INodeType {
|
||||
}
|
||||
if (operation === 'getAll') {
|
||||
const returnAll = this.getNodeParameter('returnAll', i);
|
||||
const endpoint = `/api/0/projects/`;
|
||||
const endpoint = '/api/0/projects/';
|
||||
|
||||
if (!returnAll) {
|
||||
const limit = this.getNodeParameter('limit', i);
|
||||
|
||||
Reference in New Issue
Block a user