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:
@@ -333,7 +333,7 @@ export class ShopifyTrigger implements INodeType {
|
||||
const topic = this.getNodeParameter('topic') as string;
|
||||
const webhookData = this.getWorkflowStaticData('node');
|
||||
const webhookUrl = this.getNodeWebhookUrl('default');
|
||||
const endpoint = `/webhooks`;
|
||||
const endpoint = '/webhooks';
|
||||
|
||||
const { webhooks } = await shopifyApiRequest.call(this, 'GET', endpoint, {}, { topic });
|
||||
for (const webhook of webhooks) {
|
||||
@@ -348,7 +348,7 @@ export class ShopifyTrigger implements INodeType {
|
||||
const webhookUrl = this.getNodeWebhookUrl('default');
|
||||
const topic = this.getNodeParameter('topic') as string;
|
||||
const webhookData = this.getWorkflowStaticData('node');
|
||||
const endpoint = `/webhooks.json`;
|
||||
const endpoint = '/webhooks.json';
|
||||
const body = {
|
||||
webhook: {
|
||||
topic,
|
||||
|
||||
Reference in New Issue
Block a user