refactor: cleans up and removes unncessary console.log statement

This commit is contained in:
fallenbagel
2023-11-19 10:28:14 +05:00
parent 2da404953b
commit 4933748f2b

View File

@@ -197,7 +197,6 @@ router.get<{ id: string }>(
.status(200)
.json(user.filter(req.user?.hasPermission(Permission.MANAGE_USERS)));
} catch (e) {
console.log(e);
next({ status: 404, message: 'User not found.' });
}
}