Remove event emit from channel service preventing exceptions

This commit is contained in:
Stênio Aníbal 2024-08-21 14:56:12 -03:00
parent 6585e8f0c2
commit 912df56c55

View File

@ -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>('CHATWOOT').ENABLED && this.localChatwoot.enabled) {
this.chatwootService.eventWhatsapp(
Events.STATUS_INSTANCE,