I have a problem with update documents in mongodb over mongoose.
My model bellow:
var mongoose = require(\'mongoose\'); var bcrypt = require(\'bcrypt-nod
I found the mistake. Note that I'm calling
req.body.user_id
where should be
req.params.user_id
(PUT) http://127.0.0.1:3000/api/users/54724d0fccf520000073b9e3