Skip to content

Return wrong context in promise chain #28

Open
@tunv-pnc

Description

@tunv-pnc

I'm using express-http-context to store request-id(generate each time new request arrived automatically) and get request-id anytime, anywhere I want.
In normal case its working fine but if I get context in promise chain it always return context of the first request. Please help me how to always get context of current request.

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions