Iterating problem with MongoDB and Nodejs
Hi, so in general I have an iterating problem:
// @route POST api/profile/rating/:id
// @description Add rating
// @access Private
router.post(
"/rating/:id",
passport.authenticate("jwt", { session: false }),
(req, res) => {
con...