From f769d3109ef6c2e1bcb18087a7b1243d9117d20f Mon Sep 17 00:00:00 2001 From: AdwaithAthman Date: Tue, 19 Dec 2023 20:57:13 +0530 Subject: [PATCH] fix(server): removed unnecessary consoles from profileController --- server/src/adapters/profileController/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/src/adapters/profileController/index.ts b/server/src/adapters/profileController/index.ts index e881ff8..c998ca1 100644 --- a/server/src/adapters/profileController/index.ts +++ b/server/src/adapters/profileController/index.ts @@ -122,7 +122,6 @@ const profileController = ( }); const changePassword = asyncHandler(async (req: Request, res: Response) => { - console.log("req.body= ", req.body); const { userId, oldPassword, @@ -142,7 +141,6 @@ const profileController = ( }); const editProfile = asyncHandler(async (req: Request, res: Response) => { - console.log("req.body= ", req.body); const profileInfo: ProfileInterface = req.body; const user = await handleUpdateProfile(profileInfo, dbUserRepository); res.json({ @@ -153,7 +151,6 @@ const profileController = ( }); const searchUsers = asyncHandler(async (req: Request, res: Response) => { - console.log("req.query= ", req.query) const { searchQuery } = req.query as unknown as { searchQuery: string } ; const users = await handleSearchUsers(searchQuery, dbUserRepository); res.json({