Skip to content

Commit

Permalink
bugs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-Thakur committed Jun 3, 2021
1 parent 59c8c99 commit 323ba62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/userController.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ function fetchUser(req, res) {
} else {
console.log('Wrong Password: ' + err);
res.json({
errorMessage = "Wrong Password. Try again."
errorMessage: "Wrong Password. Try again."
});
}
})
} else {
console.log('Error in retrieving user: ' + err);
res.json({
errorMessage = "No user found. Try again."
errorMessage: "No user found. Try again."
});
}
});
Expand Down

1 comment on commit 323ba62

@vercel
Copy link

@vercel vercel bot commented on 323ba62 Jun 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.