fix linting errors,

group more routes,
use mergeParams in router init
This commit is contained in:
Arthur Lu
2023-07-31 19:23:22 +00:00
parent 76ccfabf59
commit 7fe1d2af5c
9 changed files with 29 additions and 37 deletions
-2
View File
@@ -24,8 +24,6 @@ app.use(morgan("combined"));
// legacy defs
const requestPVE = global.pve.requestPVE;
const handleResponse = global.pve.handleResponse;
const getDiskInfo = global.pve.getDiskInfo;
const getDeviceInfo = global.pve.getDeviceInfo;
const getNodeAvailDevices = global.pve.getNodeAvailDevices;
const checkAuth = global.utils.checkAuth;
const approveResources = global.utils.approveResources;