You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
line: 1291model.findByIdAndUpdate(id, updateOperation, function (err, saveddoc)
the document being passed does not have a _id or .id, the property is actually on docid, therefore findbyid will resolve (successfully) to a null object which will fail on line:1317 model.findOne({_id:savedoc._id})
The text was updated successfully, but these errors were encountered:
line: 1291model.findByIdAndUpdate(id, updateOperation, function (err, saveddoc)
the document being passed does not have a _id or .id, the property is actually on docid, therefore findbyid will resolve (successfully) to a null object which will fail on line:1317 model.findOne({_id:savedoc._id})
The text was updated successfully, but these errors were encountered: