fix: Now accepts all chatwoot inbox templates

This commit is contained in:
Davidson Gomes
2023-07-24 13:03:40 -03:00
parent c9b24ff612
commit bcada5d553
2 changed files with 2 additions and 5 deletions

View File

@@ -1111,11 +1111,7 @@ export class ChatwootService {
}
}
if (
body.message_type === 'template' &&
body.content_type === 'input_csat' &&
body.event === 'message_created'
) {
if (body.message_type === 'template' && body.event === 'message_created') {
this.logger.verbose('check if is csat');
const data: SendTextDto = {