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:
@@ -102,7 +102,7 @@ export class FlowTrigger implements INodeType {
|
||||
return false;
|
||||
}
|
||||
qs.organization_id = credentials.organizationId as number;
|
||||
const endpoint = `/integration_webhooks`;
|
||||
const endpoint = '/integration_webhooks';
|
||||
try {
|
||||
webhooks = await flowApiRequest.call(this, 'GET', endpoint, {}, qs);
|
||||
webhooks = webhooks.integration_webhooks;
|
||||
@@ -126,7 +126,7 @@ export class FlowTrigger implements INodeType {
|
||||
const webhookUrl = this.getNodeWebhookUrl('default');
|
||||
const webhookData = this.getWorkflowStaticData('node');
|
||||
const resource = this.getNodeParameter('resource') as string;
|
||||
const endpoint = `/integration_webhooks`;
|
||||
const endpoint = '/integration_webhooks';
|
||||
if (resource === 'list') {
|
||||
resourceIds = (this.getNodeParameter('listIds') as string).split(',');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user