feat: chatwoot integration completed

This commit is contained in:
Davidson Gomes
2023-07-12 20:28:51 -03:00
parent 514fb56209
commit 052303cc93
5 changed files with 507 additions and 25 deletions

View File

@@ -45,4 +45,11 @@ export class ChatwootController {
logger.verbose('requested findChatwoot from ' + instance.instanceName + ' instance');
return this.chatwootService.find(instance);
}
public async receiveWebhook(instance: InstanceDto, data: any) {
logger.verbose(
'requested receiveWebhook from ' + instance.instanceName + ' instance',
);
return this.chatwootService.receiveWebhook(instance, data);
}
}