fix linting errors,
group more routes, use mergeParams in router init
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
import { Router } from "express";
|
||||
export const router = Router();
|
||||
export const router = Router({ mergeParams: true }); ;
|
||||
|
||||
const db = global.db;
|
||||
const requestPVE = global.pve.requestPVE;
|
||||
const checkAuth = global.utils.checkAuth;
|
||||
const getUserResources = global.utils.getUserResources;
|
||||
|
||||
Reference in New Issue
Block a user