Skip to content

Commit f72a0a5

Browse files
authored
Merge pull request #391 from himanshugoyal77/master
removed unused console logs
2 parents fe99f51 + 708146b commit f72a0a5

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

graphql/resolvers.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ const resolvers = {
181181
},
182182

183183
oAuth: async (_parent, { userInput }) => {
184-
console.log("coming here");
185184
const { name, email } = userInput;
186185
let user = await User.findOne({ email });
187186

index.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ const server = new ApolloServer({
3636
if (authorization) {
3737
try {
3838
const decoded = jwt.verify(authorization.replace("Bearer ", ""), process.env.JWT_SECRET);
39-
console.log("decoded: ", decoded);
4039
const user = await User.findById(decoded.sub).populate("beacons");
4140
return { user };
4241
} catch (err) {

0 commit comments

Comments
 (0)