the-road-to-graphql / fullstack-apollo-express-postgresql-boilerplate

💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
https://roadtoreact.com
MIT License
1.2k stars 265 forks source link

Resolvers in src/resolvers/authorization.js do not return #64

Open mambros opened 5 years ago

mambros commented 5 years ago

In my testing of the master branch I found that resolvers isAuthenticated and isAdmin in src/resolvers/authorization.js do not return, and so do not prevent the action their existance was intended to prevent. Perhaps I should create a pull request instead of an "issue"? I am new so please forgive me.

rwieruch commented 5 years ago

Yes, a pull request would be great! :)