Started global user bans (DB schema/admin panel)

This commit is contained in:
rainbow napkin 2024-11-28 17:37:26 -05:00
parent 5c30508e96
commit f996018ea5
20 changed files with 339 additions and 15 deletions

View file

@ -16,7 +16,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
//local imports
const {exceptionHandler} = require('../../../utils/loggerUtils.js');
const userModel = require('../../../schemas/userSchema');
const {userModel} = require('../../../schemas/userSchema');
//api list account functions
module.exports.get = async function(req, res){