Looking a bit further into mongoose documentation, it looks like your approach was actually correct. I was under the impression that in case of the update not happening as expected, it would return an object instead of throwing an error. Apologies for the inconvenience! :sweat_smile:
Looking a bit further into mongoose documentation, it looks like your approach was actually correct. I was under the impression that in case of the update not happening as expected, it would return an object instead of throwing an error. Apologies for the inconvenience! :sweat_smile: