summaryrefslogtreecommitdiffstats
path: root/backend/src/resolvers
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-04-13 10:15:00 -0400
committerWes Bos <wesbos@gmail.com>2018-04-13 10:15:00 -0400
commit1711cef0c3e32082d30e5fe1189597ad5761e82b (patch)
treee28bcf386168953e51090aa70e28d5a2687bade8 /backend/src/resolvers
parentcabc86b83951b9fefb7e864fba82f1d93715c805 (diff)
remove auth payload
Diffstat (limited to 'backend/src/resolvers')
-rw-r--r--backend/src/resolvers/AuthPayload.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/backend/src/resolvers/AuthPayload.js b/backend/src/resolvers/AuthPayload.js
deleted file mode 100644
index f5945b7..0000000
--- a/backend/src/resolvers/AuthPayload.js
+++ /dev/null
@@ -1,7 +0,0 @@
-const { Context } = require('../utils');
-
-const AuthPayload = {
- user: async ({ user: { id } }, args, ctx, info) => ctx.db.query.user({ where: { id } }, info),
-};
-
-module.exports = AuthPayload;