diff --git a/src/api/integrations/chatbot/typebot/services/typebot.service.ts b/src/api/integrations/chatbot/typebot/services/typebot.service.ts index b094ec40..f8b437cc 100644 --- a/src/api/integrations/chatbot/typebot/services/typebot.service.ts +++ b/src/api/integrations/chatbot/typebot/services/typebot.service.ts @@ -189,7 +189,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);