Skip to content

Commit 1b22f4a

Browse files
dncrewshuv1k
authored andcommitted
Avoid calling next() in Express middleware (graphql#961)
- fix graphql#752 - fix graphql#557
1 parent 943e1b5 commit 1b22f4a

File tree

1 file changed

+0
-1
lines changed
  • packages/graphql-playground-middleware-express/src

1 file changed

+0
-1
lines changed

packages/graphql-playground-middleware-express/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const express: Register = function voyagerExpress(options: MiddlewareOptions) {
2222
const playground = renderPlaygroundPage(options)
2323
res.write(playground)
2424
res.end()
25-
next()
2625
}
2726
}
2827

0 commit comments

Comments
 (0)