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:
@@ -129,7 +129,7 @@ export class WorkableTrigger implements INodeType {
|
||||
const webhookData = this.getWorkflowStaticData('node');
|
||||
// Check all the webhooks which exist already if it is identical to the
|
||||
// one that is supposed to get created.
|
||||
const { subscriptions } = await workableApiRequest.call(this, 'GET', `/subscriptions`);
|
||||
const { subscriptions } = await workableApiRequest.call(this, 'GET', '/subscriptions');
|
||||
for (const subscription of subscriptions) {
|
||||
if (subscription.target === webhookUrl) {
|
||||
webhookData.webhookId = subscription.id as string;
|
||||
|
||||
Reference in New Issue
Block a user