Added tokeCommand delete endpoint and ajax call, replaced all raw error responses.
This commit is contained in:
parent
af7f4219a5
commit
864304f13b
28 changed files with 93 additions and 64 deletions
|
|
@ -19,7 +19,7 @@ const config = require('../../config.json');
|
|||
const {userModel} = require('../schemas/userSchema');
|
||||
const permissionModel = require('../schemas/permissionSchema');
|
||||
const channelModel = require('../schemas/channel/channelSchema');
|
||||
const {exceptionHandler} = require("../utils/loggerUtils");
|
||||
const {exceptionHandler, errorHandler} = require("../utils/loggerUtils");
|
||||
|
||||
//register page functions
|
||||
module.exports.get = async function(req, res){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue