mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-02-04 14:26:34 -06:00
fix: bind applyFormatting method in processMessages to maintain context
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user