mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -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,
|
messages,
|
||||||
input,
|
input,
|
||||||
clientSideActions,
|
clientSideActions,
|
||||||
this.applyFormatting,
|
this.applyFormatting.bind(this),
|
||||||
this.prismaRepository,
|
this.prismaRepository,
|
||||||
).catch((err) => {
|
).catch((err) => {
|
||||||
console.error('Erro ao processar mensagens:', err);
|
console.error('Erro ao processar mensagens:', err);
|
||||||
|
Loading…
Reference in New Issue
Block a user