mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -06:00
fix: Bug fix when connecting whatsapp does not send confirmation message
This commit is contained in:
parent
7cacf7bbaf
commit
a9fafec79d
@ -1459,7 +1459,7 @@ export class ChatwootService {
|
|||||||
this.logger.verbose('event connection.update');
|
this.logger.verbose('event connection.update');
|
||||||
console.log('connection.update', body);
|
console.log('connection.update', body);
|
||||||
if (body.status === 'open') {
|
if (body.status === 'open') {
|
||||||
const msgConnection = `🚀 Conexão realizada com sucesso!`;
|
const msgConnection = `🚀 Conexão estabelecida com sucesso!`;
|
||||||
|
|
||||||
this.logger.verbose('send message to chatwoot');
|
this.logger.verbose('send message to chatwoot');
|
||||||
await this.createBotMessage(instance, msgConnection, 'incoming');
|
await this.createBotMessage(instance, msgConnection, 'incoming');
|
||||||
|
Loading…
Reference in New Issue
Block a user