Skip to content

Commit

Permalink
Fix: editProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cuconveniencestore authored and hookor committed Jun 2, 2024
1 parent 04a4dac commit 7212606
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controllers/user-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const deleteAccount = async (req, res) => {
};

const editProfile = async (req, res) => {
await userService.unlinkSocialAuth(social, token);
const result = await userService.patchUserProfile([req.body, req.userId]);
return result && res.status(200).json('success : ok');
};
Expand Down

0 comments on commit 7212606

Please sign in to comment.