Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Company.findOneAndUpdate({
- _id: req.body._id
- }, {
- store: req.body.store
- }, function (err, updatedCompany) {
- res.jsonp(updatedCompany);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement