How to delete/hide properties of Mongoose object - Node.js
Sep 19, 2021 · 2 min read · When I was working on the user signup module for one of my side projects after successful user signup, the response expected was the user object. It is obvious that I shouldn't send back the password in the response, irrespective of whether it is sto...
Join discussion


