Added user rank changes to admin page.

This commit is contained in:
rainbownapkin 2024-11-17 17:37:07 -05:00
parent 064109556c
commit 8a4a21cff0
13 changed files with 276 additions and 30 deletions

View file

@ -20,8 +20,7 @@ const channelModel = require('../../../schemas/channelSchema');
//api account functions
module.exports.get = async function(req, res){
try{
//I'm not sanatizing this, it never gets processed...
const chanGuide = await channelModel.getChannelList(req.query.showHidden || req.query.showHidden === '');
const chanGuide = await channelModel.getChannelList();
res.status(200);
return res.send(chanGuide);