Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong middleware signature #18

Open
damianobarbati opened this issue Jul 12, 2017 · 2 comments
Open

Wrong middleware signature #18

damianobarbati opened this issue Jul 12, 2017 · 2 comments

Comments

@damianobarbati
Copy link

It should be:

  async function koaMiddleware(ctx, next) {
    const { req } = ctx;

This does not exist anymore and ctx is explicitly passed!

@yukunyi
Copy link

yukunyi commented Jul 28, 2017

I get same error @damianobarbati , please fix it.

@mattiasrunge
Copy link

mattiasrunge commented Jul 28, 2017

I encountered this error as well, did a pull request to fix it (#19).

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

No branches or pull requests

3 participants