From c98823f5625a3f8414496b052bb5625128fa1580 Mon Sep 17 00:00:00 2001 From: yesilirmak Date: Sun, 3 Dec 2023 00:56:47 +0300 Subject: [PATCH] Add user update message --- src/routes/profile/profile.route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/profile/profile.route.ts b/src/routes/profile/profile.route.ts index 41db581..59b43b4 100644 --- a/src/routes/profile/profile.route.ts +++ b/src/routes/profile/profile.route.ts @@ -72,6 +72,7 @@ router.patch('/user', async (req: Request, res: Response) => { user && res.status(200).json({ success: true, + message: 'User updated.', user, }); });