mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 17:08:44 -06:00
Remove event emit from channel service preventing exceptions
This commit is contained in:
parent
6585e8f0c2
commit
912df56c55
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user