Added '/api/admin/permissions' post & ajax helper

This commit is contained in:
rainbownapkin 2024-11-18 08:18:02 -05:00
parent 8c4d9693f5
commit bd24aae381
9 changed files with 172 additions and 43 deletions

View file

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