Skip to content

Commit

Permalink
Update dashboard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Voyrox authored Oct 9, 2023
1 parent 068cf32 commit 30d92cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { bandwidth } = require('../middleware/bandwidth');
const os = require('node:os');
const pidusage = require('pidusage');


module.exports = (router, client, checkAuth) => {
router.post("/admin", checkAuth, async (req, res) => {
const processStats = await pidusage(process.pid);
Expand Down Expand Up @@ -46,7 +45,6 @@ module.exports = (router, client, checkAuth) => {
"networkInterfaces": os.networkInterfaces(),
},
}

res.send(data);
});
};
};

0 comments on commit 30d92cf

Please sign in to comment.