mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-18 19:32:21 -06:00
fix: Fixed chatwoot line wrap issue
This commit is contained in:
@@ -1125,12 +1125,12 @@ export class ChatwootService {
|
||||
}
|
||||
|
||||
if (body.message_type === 'template' && body.event === 'message_created') {
|
||||
this.logger.verbose('check if is csat');
|
||||
this.logger.verbose('check if is template');
|
||||
|
||||
const data: SendTextDto = {
|
||||
number: chatId,
|
||||
textMessage: {
|
||||
text: body.content,
|
||||
text: body.content.replace(/\\\r\n|\\\n|\n/g, '\n'),
|
||||
},
|
||||
options: {
|
||||
delay: 1200,
|
||||
|
||||
Reference in New Issue
Block a user