From bda3f5f14674e2310ee6e6fb8a03948a68092c5e Mon Sep 17 00:00:00 2001 From: Matheus Terra Date: Thu, 19 Jun 2025 12:45:09 -0300 Subject: [PATCH] Fix applyFormatting context in Typebot service --- .../integrations/chatbot/typebot/services/typebot.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/integrations/chatbot/typebot/services/typebot.service.ts b/src/api/integrations/chatbot/typebot/services/typebot.service.ts index 01346fa6..e7ae24e6 100644 --- a/src/api/integrations/chatbot/typebot/services/typebot.service.ts +++ b/src/api/integrations/chatbot/typebot/services/typebot.service.ts @@ -186,7 +186,7 @@ export class TypebotService extends BaseChatbotService { messages, input, clientSideActions, - this.applyFormatting, + this.applyFormatting.bind(this), this.prismaRepository, ).catch((err) => { console.error('Erro ao processar mensagens:', err);