Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

first middelware next() error #15

Open
ivanvolov opened this issue Oct 13, 2018 · 0 comments
Open

first middelware next() error #15

ivanvolov opened this issue Oct 13, 2018 · 0 comments

Comments

@ivanvolov
Copy link

ivanvolov commented Oct 13, 2018

I have two bot.on('text', ..) middlewares.
The first one run next() in my bot logic, and the second must override the session value
But the this.saveSession(key, session) in your middelware saved the session after the first next() launch and miss the second
Do you know how to fix it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant