From 912df56c55b6c6fb169dbf04c871638cf84fd165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=AAnio=20An=C3=ADbal?= Date: Wed, 21 Aug 2024 14:56:12 -0300 Subject: [PATCH] Remove event emit from channel service preventing exceptions --- src/api/services/channel.service.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/api/services/channel.service.ts b/src/api/services/channel.service.ts index 345ec813..26e9253f 100644 --- a/src/api/services/channel.service.ts +++ b/src/api/services/channel.service.ts @@ -58,11 +58,6 @@ export class ChannelStartupService { this.instance.token = instance.token; this.instance.businessId = instance.businessId; - this.sendDataWebhook(Events.STATUS_INSTANCE, { - instance: this.instance.name, - status: 'created', - }); - if (this.configService.get('CHATWOOT').ENABLED && this.localChatwoot.enabled) { this.chatwootService.eventWhatsapp( Events.STATUS_INSTANCE,