Added user rank changes to admin page.
This commit is contained in:
parent
064109556c
commit
8a4a21cff0
13 changed files with 276 additions and 30 deletions
|
|
@ -20,6 +20,7 @@ const { Router } = require('express');
|
|||
//local imports
|
||||
const accountRouter = require("./api/accountRouter");
|
||||
const channelRouter = require("./api/channelRouter");
|
||||
const adminRouter = require("./api/adminRouter");
|
||||
|
||||
//globals
|
||||
const router = Router();
|
||||
|
|
@ -27,5 +28,6 @@ const router = Router();
|
|||
//routing functions
|
||||
router.use('/account', accountRouter);
|
||||
router.use('/channel', channelRouter);
|
||||
router.use('/admin', adminRouter);
|
||||
|
||||
module.exports = router;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue