mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 15:14:49 -06:00
fix: bind applyFormatting method in processMessages to maintain context
This commit is contained in:
parent
39606240da
commit
5b1b5ff9d2
@ -186,7 +186,7 @@ export class TypebotService extends BaseChatbotService<TypebotModel, any> {
|
||||
messages,
|
||||
input,
|
||||
clientSideActions,
|
||||
this.applyFormatting,
|
||||
this.applyFormatting.bind(this),
|
||||
this.prismaRepository,
|
||||
).catch((err) => {
|
||||
console.error('Erro ao processar mensagens:', err);
|
||||
|
Loading…
Reference in New Issue
Block a user