From 7fc8c53f8a5ab4f52ba45cecfab69998dfd17310 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 15 Apr 2022 10:40:05 +0200 Subject: [PATCH] :shirt: Fix lint issue --- packages/nodes-base/nodes/Discord/Discord.node.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/nodes-base/nodes/Discord/Discord.node.ts b/packages/nodes-base/nodes/Discord/Discord.node.ts index 4897af71a3..5faeca2d8a 100644 --- a/packages/nodes-base/nodes/Discord/Discord.node.ts +++ b/packages/nodes-base/nodes/Discord/Discord.node.ts @@ -4,9 +4,6 @@ import { INodeExecutionData, INodeType, INodeTypeDescription, - JsonObject, - NodeApiError, - NodeOperationError, } from 'n8n-workflow'; @@ -135,7 +132,7 @@ export class Discord implements INodeType { if (!webhookUri) throw Error('Webhook uri is required.'); const items = this.getInputData(); - const length = items.length as number + const length = items.length as number; for (let i = 0; i < length; i++) { const body: DiscordWebhook = {};