SocialHackersClass10 / ChalleduApp

This repository contains the Code of the project, ChalleduApp, as a result of the collaboration between SHA-students of Class 10 & Challedu.com.
1 stars 5 forks source link

42 update ngo endpoint #54

Closed Stef-Lev closed 4 years ago

zannis commented 4 years ago

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: