fix: Adjusts in return errors

This commit is contained in:
Davidson Gomes
2023-07-27 08:51:58 -03:00
parent f74a7e87bd
commit f95d938fb6
3 changed files with 56 additions and 49 deletions

View File

@@ -930,7 +930,6 @@ export class ChatwootService {
}
public async receiveWebhook(instance: InstanceDto, body: any) {
console.log(body);
try {
this.logger.verbose('receive webhook to chatwoot instance: ' + instance.instanceName);
const client = await this.clientCw(instance);