Skip to content

Commit

Permalink
Deleted some uneccessary console logging lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWS committed Jun 3, 2022
1 parent fb9ef64 commit 547b8a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion API-Modules/Controllers/User-Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ function generateAccessToken(email) {

async function signUp(req, res) {
if (!req.body.email || !req.body.password) {
console.log("fail 1");
//Missing password or Missing Email
res.status(400).send("Bad request: Missing field.");
} else {
Expand Down
1 change: 0 additions & 1 deletion DB-Modules/Services/user-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ async function getUserByEmail(email) {
}

async function addUser(user) {
console.log("From add user" + user);
dbC = dbConnection.getDbConnection(dbC);
const userModel = dbC.model("User", UserSchema);
// generate salt to hash password
Expand Down

0 comments on commit 547b8a9

Please sign in to comment.