Skip to content

Commit

Permalink
wip: loadUser
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham-Lal committed Nov 18, 2023
1 parent a37363c commit 4654a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/controllers/authController.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ exports.loadUser = async (req, res) => {
});
}
catch (error) {
console.log(error);
res.status(500).json({
success: false,
msg: "Something went wrong... Try again later!"
msg: "Something went wrong... Try again later!",
error
});
}
}
Expand Down

0 comments on commit 4654a3e

Please sign in to comment.