mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-02-05 14:56:29 -06:00
Remove event emit from channel service preventing exceptions
This commit is contained in:
@@ -58,11 +58,6 @@ export class ChannelStartupService {
|
|||||||
this.instance.token = instance.token;
|
this.instance.token = instance.token;
|
||||||
this.instance.businessId = instance.businessId;
|
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) {
|
if (this.configService.get<Chatwoot>('CHATWOOT').ENABLED && this.localChatwoot.enabled) {
|
||||||
this.chatwootService.eventWhatsapp(
|
this.chatwootService.eventWhatsapp(
|
||||||
Events.STATUS_INSTANCE,
|
Events.STATUS_INSTANCE,
|
||||||
|
|||||||
Reference in New Issue
Block a user