diff --git a/backend/src/services/WbotServices/wbotMessageListener.ts b/backend/src/services/WbotServices/wbotMessageListener.ts index a0db1c4..b944437 100644 --- a/backend/src/services/WbotServices/wbotMessageListener.ts +++ b/backend/src/services/WbotServices/wbotMessageListener.ts @@ -1163,7 +1163,10 @@ const handleMessage = async ( }); const _ticket = await ShowTicketService(ticket.id); - const chat = await msg.getChat(); + + // const chat = await msg.getChat(); + const chat = wbot.chat + await sendDialogflowAwswer(wbot, _ticket, msg, contact, chat); return }