feat: Created automation for creating instances in the chatwoot bot with the command #inbox_whatsapp:<INSTANCE_NAME>

This commit is contained in:
Davidson Gomes
2023-07-17 15:37:49 -03:00
parent 71a3e75ae2
commit 0cb87e6ed9
5 changed files with 42 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ export class ChatwootController {
logger.verbose(
'requested receiveWebhook from ' + instance.instanceName + ' instance',
);
const chatwootService = new ChatwootService(waMonitor);
const chatwootService = new ChatwootService(waMonitor, this.configService);
return chatwootService.receiveWebhook(instance, data);
}