Skip to content

Commit

Permalink
Avoid calling next() in Express middleware (graphql#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
dncrews authored and huv1k committed Feb 23, 2019
1 parent 943e1b5 commit 1b22f4a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const express: Register = function voyagerExpress(options: MiddlewareOptions) {
const playground = renderPlaygroundPage(options)
res.write(playground)
res.end()
next()
}
}

Expand Down

0 comments on commit 1b22f4a

Please sign in to comment.