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);