fix: Bug fix when connecting whatsapp does not send confirmation message

This commit is contained in:
Davidson Gomes 2023-07-18 12:50:18 -03:00
parent 7cacf7bbaf
commit a9fafec79d

View File

@ -1459,7 +1459,7 @@ export class ChatwootService {
this.logger.verbose('event connection.update');
console.log('connection.update', body);
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');
await this.createBotMessage(instance, msgConnection, 'incoming');