Skip to content

Commit 0039cac

Browse files
unnecessary_logs_removed_from_the_backend
unnecessary_logs_removed_from_the_backend
2 parents 7d97fff + 7e2092a commit 0039cac

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

apps/http-server/src/controllers/authController.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export const userRegisterController = async (req: Request, res: Response) => {
1212

1313
const { name, email, password } = req.body;
1414

15-
console.log("The name , email and passwords are: ", name, email, password)
1615

1716
// is user existed already
1817
const isUserExisted = await prisma.user.findUnique({
@@ -49,7 +48,6 @@ export const userRegisterController = async (req: Request, res: Response) => {
4948
})
5049

5150
} catch (error) {
52-
console.log("signupError", error)
5351
return errorResponse(res, 500, "Internal Server Error...")
5452

5553
}
@@ -91,7 +89,6 @@ export const userLoginController = async (req: Request, res: Response) => {
9189
})
9290

9391
} catch (error) {
94-
console.log("Login error is: ", error);
9592
return errorResponse(res, 500, "Internal Server Errror....")
9693
}
9794
}
@@ -116,7 +113,6 @@ export const getLoggedInUserController = async (req: Request, res: Response) =>
116113
})
117114

118115
} catch (error) {
119-
console.log("Auth verification failed", error);
120116
return errorResponse(res, 500, "Internal Server Error")
121117
}
122118
}

0 commit comments

Comments
 (0)