Skip to content

Commit

Permalink
Add user update message
Browse files Browse the repository at this point in the history
  • Loading branch information
denizyesilirmak committed Dec 2, 2023
1 parent 88ece25 commit c98823f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/profile/profile.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ router.patch('/user', async (req: Request, res: Response) => {
user &&
res.status(200).json({
success: true,
message: 'User updated.',
user,
});
});
Expand Down

0 comments on commit c98823f

Please sign in to comment.