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:
@@ -68,7 +68,7 @@ export class Demio implements INodeType {
|
||||
// select them easily
|
||||
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const events = await demioApiRequest.call(this, 'GET', `/events`, {}, { type: 'upcoming' });
|
||||
const events = await demioApiRequest.call(this, 'GET', '/events', {}, { type: 'upcoming' });
|
||||
for (const event of events) {
|
||||
returnData.push({
|
||||
name: event.name,
|
||||
@@ -136,7 +136,7 @@ export class Demio implements INodeType {
|
||||
|
||||
Object.assign(qs, filters);
|
||||
|
||||
responseData = await demioApiRequest.call(this, 'GET', `/events`, {}, qs);
|
||||
responseData = await demioApiRequest.call(this, 'GET', '/events', {}, qs);
|
||||
|
||||
if (!returnAll) {
|
||||
const limit = this.getNodeParameter('limit', i);
|
||||
@@ -169,7 +169,7 @@ export class Demio implements INodeType {
|
||||
delete additionalFields.customFields;
|
||||
}
|
||||
|
||||
responseData = await demioApiRequest.call(this, 'PUT', `/event/register`, body);
|
||||
responseData = await demioApiRequest.call(this, 'PUT', '/event/register', body);
|
||||
}
|
||||
}
|
||||
if (resource === 'report') {
|
||||
|
||||
Reference in New Issue
Block a user