add games/save-with-check route
All checks were successful
Deploy to Production / deploy (push) Successful in 20s
All checks were successful
Deploy to Production / deploy (push) Successful in 20s
This commit is contained in:
@@ -22,6 +22,9 @@ router.get('/:id', gameController.getGameById);
|
||||
// Create new game
|
||||
router.post('/', gameController.createGame);
|
||||
|
||||
// Create new game with URL validation (check if URL exists before saving)
|
||||
router.post('/save-with-check', gameController.createGameWithUrlCheck);
|
||||
|
||||
// Update game
|
||||
router.put('/:id', gameController.updateGame);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user