controller
async isAdmin (req, res) { const rolee = req // working here const isAdmin = authMiddleWare.isAdmin(rolee); if(isAdmin == 0) {