mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-25 18:08:40 -06:00
chore: compreensive var name for conversation
term
This commit is contained in:
parent
ecbf90ded8
commit
c16f962d2b
@ -1284,9 +1284,9 @@ export class ChatwootService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.logger.verbose('get conversation in chatwoot');
|
this.logger.verbose('get conversation in chatwoot');
|
||||||
const getConversion = await this.createConversation(instance, body);
|
const getConversation = await this.createConversation(instance, body);
|
||||||
|
|
||||||
if (!getConversion) {
|
if (!getConversation) {
|
||||||
this.logger.warn('conversation not found');
|
this.logger.warn('conversation not found');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -1337,7 +1337,7 @@ export class ChatwootService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.logger.verbose('send data to chatwoot');
|
this.logger.verbose('send data to chatwoot');
|
||||||
const send = await this.sendData(getConversion, fileName, messageType, content);
|
const send = await this.sendData(getConversation, fileName, messageType, content);
|
||||||
|
|
||||||
if (!send) {
|
if (!send) {
|
||||||
this.logger.warn('message not sent');
|
this.logger.warn('message not sent');
|
||||||
@ -1358,7 +1358,7 @@ export class ChatwootService {
|
|||||||
this.logger.verbose('message is not group');
|
this.logger.verbose('message is not group');
|
||||||
|
|
||||||
this.logger.verbose('send data to chatwoot');
|
this.logger.verbose('send data to chatwoot');
|
||||||
const send = await this.sendData(getConversion, fileName, messageType, bodyMessage);
|
const send = await this.sendData(getConversation, fileName, messageType, bodyMessage);
|
||||||
|
|
||||||
if (!send) {
|
if (!send) {
|
||||||
this.logger.warn('message not sent');
|
this.logger.warn('message not sent');
|
||||||
@ -1394,7 +1394,7 @@ export class ChatwootService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.logger.verbose('send data to chatwoot');
|
this.logger.verbose('send data to chatwoot');
|
||||||
const send = await this.createMessage(instance, getConversion, content, messageType);
|
const send = await this.createMessage(instance, getConversation, content, messageType);
|
||||||
|
|
||||||
if (!send) {
|
if (!send) {
|
||||||
this.logger.warn('message not sent');
|
this.logger.warn('message not sent');
|
||||||
@ -1415,7 +1415,7 @@ export class ChatwootService {
|
|||||||
this.logger.verbose('message is not group');
|
this.logger.verbose('message is not group');
|
||||||
|
|
||||||
this.logger.verbose('send data to chatwoot');
|
this.logger.verbose('send data to chatwoot');
|
||||||
const send = await this.createMessage(instance, getConversion, bodyMessage, messageType);
|
const send = await this.createMessage(instance, getConversation, bodyMessage, messageType);
|
||||||
|
|
||||||
if (!send) {
|
if (!send) {
|
||||||
this.logger.warn('message not sent');
|
this.logger.warn('message not sent');
|
||||||
|
Loading…
Reference in New Issue
Block a user