Closed ritenv closed 8 years ago
To implicitly call the virtuals .set method of the /models/user.js, Mongoose requires a call to the obj.save() method, does not anymore work with Model.update. Fixed this now.
.set
/models/user.js
obj.save()
Model.update
To implicitly call the virtuals
.set
method of the/models/user.js
, Mongoose requires a call to theobj.save()
method, does not anymore work withModel.update
. Fixed this now.