feat(api/games): add GET /types endpoint
All checks were successful
Deploy to Production / deploy (push) Successful in 21s
All checks were successful
Deploy to Production / deploy (push) Successful in 21s
This commit is contained in:
@@ -10,6 +10,9 @@ const gameController = require('../controllers/gameController');
|
||||
// Get all games
|
||||
router.get('/', gameController.getAllGames);
|
||||
|
||||
// Get all game types
|
||||
router.get('/types', gameController.getGameTypes);
|
||||
|
||||
// Get game statistics
|
||||
router.get('/stats', gameController.getGameStats);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user