mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:07:08 +00:00
Remove dead code
This commit is contained in:
@@ -5,8 +5,6 @@ module.exports = async function (req, res, next) {
|
||||
|
||||
try {
|
||||
const d = await diagnostics();
|
||||
if (req.user?.role != "admin" && req.user?.role != "user") {
|
||||
}
|
||||
res.status(200).json(d);
|
||||
} catch (err) {
|
||||
next(err);
|
||||
|
||||
Reference in New Issue
Block a user