Closed ignaczalexander closed 5 years ago
If I want to update the profile and set one of the social media links to empty string it does not update it on the server. It might be because of this: if (req.body.linkedin) update.linkedin = req.body.linkedin;
if (req.body.linkedin) update.linkedin = req.body.linkedin;
If I want to update the profile and set one of the social media links to empty string it does not update it on the server. It might be because of this:
if (req.body.linkedin) update.linkedin = req.body.linkedin;