Refactoring
This commit is contained in:
@@ -39,7 +39,6 @@ const getUser = async (req, res) => {
|
||||
try {
|
||||
const user = await UserService.getUserById(req.payload.id);
|
||||
|
||||
console.log(req.payload);
|
||||
res.status(200).json({
|
||||
user: user.toAuthJSON(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user