From c7b377b84c161348d74fbcb515ac09d8d8cb342f Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Sun, 18 Oct 2020 01:34:36 -0400 Subject: [PATCH] fix: use proper user object in me operation --- src/auth/operations/me.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/operations/me.js b/src/auth/operations/me.js index 774e12860b..65471b0191 100644 --- a/src/auth/operations/me.js +++ b/src/auth/operations/me.js @@ -9,7 +9,7 @@ async function me({ req }) { delete user.collection; const response = { - user: req.user, + user, collection: req.user.collection, };