apollo-server
apollo-server copied to clipboard
Update middleware.md
Fix example code for applying express middleware. The example code in the docs did not work for me.
The submitted code works with [email protected]
and [email protected]
.
Reference: https://github.com/apollographql/apollo-server/issues/1998#issuecomment-443507700