Skip to content

Commit

Permalink
remove permission for user query (revert l8r)
Browse files Browse the repository at this point in the history
  • Loading branch information
gondar00 committed Apr 25, 2020
1 parent cffd0f1 commit a465cc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/middlewares/permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ const { isLoggedIn } = require('../helpers')

const permissions = {
Query: {
users: isLoggedIn,
me: isLoggedIn
users: isLoggedIn
},
Mutation: {
createConversation: isLoggedIn,
Expand Down

0 comments on commit a465cc3

Please sign in to comment.