summaryrefslogtreecommitdiffstats
path: root/backend/src/resolvers/Query.js
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/resolvers/Query.js')
-rw-r--r--backend/src/resolvers/Query.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/src/resolvers/Query.js b/backend/src/resolvers/Query.js
index e69a671..a34b484 100644
--- a/backend/src/resolvers/Query.js
+++ b/backend/src/resolvers/Query.js
@@ -3,6 +3,7 @@ const { forwardTo } = require('prisma-binding');
const Query = {
items(parent, args, ctx, info) {
+ console.log('ITEMS!');
// check auth
return ctx.db.query.items({ ...args }, info);
},
@@ -36,7 +37,7 @@ const Query = {
},
async users(parent, args, ctx, info) {
- console.log('TODO: check their permissions');
+ // TODO Permissions
const userId = getUserId(ctx);
return ctx.db.query.users({}, info);
},