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

Avoid overriding the inner middleware's result with an empty object#28

Open
schallerala wants to merge 1 commit into
telegraf:developfrom
schallerala:develop
Open

Avoid overriding the inner middleware's result with an empty object#28
schallerala wants to merge 1 commit into
telegraf:developfrom
schallerala:develop

Conversation

@schallerala
Copy link
Copy Markdown

In the promise call chain, avoid returning as resolution data an empty object as done the saveSession method.
Therefore, add closure to return the middleware resolution data after the save session promise completes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant