Skip to content

Middleware implementation prevents use of middleware that requires the next function #189

@jonball4

Description

@jonball4

Taking over the next function limits the ability to use middleware that requires passing the next function, which is the case with some functions in bitgo's common library.

export type MiddlewareFn<T extends {}> = (
req: express.Request,
res: express.Response,
) => Promise<T>;

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