diff --git a/src/graphql/resolvers/index.js b/src/graphql/resolvers/index.js index 2e2938c..115149c 100644 --- a/src/graphql/resolvers/index.js +++ b/src/graphql/resolvers/index.js @@ -21,6 +21,7 @@ export const resolvers = { getTweets: async (root, args, { user }) => { try { await requireAuth(user); + // console.log("USER", user); const tweets = Tweet.find({}).sort({ createdAt: -1 }); return tweets; } catch (error) {