Skip to content

Get null when calling in a callback #8

@jmimi

Description

@jmimi

When I call getCurrentContext in the middleware, it works.
But when I call an async function like fetching from db in the middleware, and calling getCurrentContext in the callback of that async function, I get null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions