Skip to content

Commit

Permalink
Minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pramod726 committed Jun 27, 2024
1 parent 71824f8 commit 1db132b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/middlewares/Auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exports.auth = (req, res, next) => {
let token = req.headers["authorization"].split("Bearer ")[1];

if (!token) {
console.log(token);
return res.status(401).json({
success: false,
message: "Your token is missing. Please Try Again."
Expand Down

0 comments on commit 1db132b

Please sign in to comment.