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 = {};