Skip to content

Commit

Permalink
Merge pull request #78 from atlp-rwanda/bgfix-getuser-permissions
Browse files Browse the repository at this point in the history
getUser route restricted to admins only
  • Loading branch information
UmuhireJessie authored Jul 24, 2024
2 parents ed6060d + 434321b commit fe96437
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/routes/userRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import OrderController from '../controllers/orderController';

const router: Router = express.Router();

router.get('/', UserController.getUsers);
router.post('/registerUser', UserController.registerUser);
router.get('/isVerified/:token', UserController.isVerified);
router.post('/login', UserController.login);
Expand Down

0 comments on commit fe96437

Please sign in to comment.