feat(tournament-suggestions): implement save functionality for tournament suggestions
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 8m44s
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 8m44s
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
listClubParticipations,
|
||||
updateParticipantStatus,
|
||||
autoRegisterOfficialTournamentParticipants
|
||||
, listTacticPlans, saveTacticPlan, deleteTacticPlan
|
||||
, listTacticPlans, saveTacticPlan, deleteTacticPlan, saveTournamentSuggestion
|
||||
} from '../controllers/officialTournamentController.js';
|
||||
import { fetchTournamentSuggestions, listTournamentSuggestions, updateTournamentSuggestion } from '../controllers/tournamentSuggestionController.js';
|
||||
|
||||
@@ -23,6 +23,7 @@ router.use(authenticate);
|
||||
router.get('/:clubId', listOfficialTournaments);
|
||||
router.get('/:clubId/suggestions', listTournamentSuggestions);
|
||||
router.post('/:clubId/suggestions/fetch', fetchTournamentSuggestions);
|
||||
router.post('/:clubId/suggestions/:id/save', saveTournamentSuggestion);
|
||||
router.patch('/:clubId/suggestions/:id', updateTournamentSuggestion);
|
||||
router.get('/:clubId/participations/summary', listClubParticipations);
|
||||
router.post('/:clubId/upload', upload.single('pdf'), uploadTournamentPdf);
|
||||
|
||||
Reference in New Issue
Block a user