| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ssar-mensagens-com-variáveis Fix Typebot formatting function
Reviewer's GuideThe PR fixes a context-binding issue by passing a bound version of the applyFormatting method to the message processing function, restoring proper variable handling in the Typebot flow. File-Level Changes
Possibly linked issues
Tips and commands Interacting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Sorry, something went wrong.
There was a problem hiding this comment.
Hey @matheusfterra - I've reviewed your changes - here's some feedback:
Please address the comments from this code review:
## Overall Comments
- Instead of binding `this.applyFormatting` on each call, consider binding it once in the constructor to avoid repeated function creation.
- You could also define `applyFormatting` as an arrow method in the class so it automatically retains the correct `this` context without needing manual binding.
Sorry, something went wrong.
There was a problem hiding this comment.
Esse correção é exatamente o que preciso para os meu bots funcionarem novamente.
Sorry, something went wrong.
…ormatting-e-proteger-entrada Corrige erro em applyFormatting com valores não estruturados Esta correção adiciona verificação de tipo e valor falsy antes de aplicar o processamento de texto. Correção baseada em: evolution-foundation#1624
| Back | FazBrowse Home | New Git URL |
Atualmente quando no fluxo do typebot tem o envio de alguma variável, a mensagem não é enviada.
Com essa correção a mensagem é enviada normalmente.
Summary by Sourcery
Bug Fixes: