Closed abhi9-hash closed 2 years ago
Hey @abhi9-hash
Thanks for opening this PR :rocket:. Mentor will review your PR soon and till then, keep contributing and stay calm.
Thanks for contributing to OpenCode ✨✨!
@abhi9-hash use _id field of mongodb document for user_id Also attach screenshots
please check it
you will get _id field from req.user
req.user object has gid, email, photourl, name as attribute. Are you saying user id is stored as req.user._id ?
_id is mongodb document id So user also has _id field
_id is mongodb document id So user also has _id field
yes please check the updated index.js file. Its solved
There's no need to find user using email and finding _id from that req.user will also have _id field
There's no need to find user using email and finding _id from that req.user will also have _id field
got it
Hey @abhi9-hash
Your PR has been merged :partying_face::partying_face: and you have earned 20 points.
Thanks for contributing to OpenCode ✨✨!
Issue: 82
created post '/todo' route and added key.js file in config folder