fix: user names that make sense

pull/177/head
tycrek 2 years ago
parent ac8c861bb1
commit 118039f849
No known key found for this signature in database
GPG Key ID: FF8A54DCE404885A

@ -22,14 +22,15 @@ const adminAuthMiddleware = (req: Request, res: Response, next: NextFunction) =>
(user && user.admin) ? next() : res.sendStatus(401);
};
function buildUserRouter() {
const RouterUser = Router();
const userRouter = Router();
return RouterUser;
return userRouter;
}
function buildResourceRouter() {
const RouterResource = Router();
const resourceRouter = Router();
return RouterResource;
return resourceRouter;
}
/**

Loading…
Cancel
Save