feat(official-tournaments): implement reimport functionality for official tournaments
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 57s
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 57s
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
listClubParticipations,
|
||||
updateParticipantStatus,
|
||||
autoRegisterOfficialTournamentParticipants
|
||||
, listTacticPlans, saveTacticPlan, deleteTacticPlan, saveTournamentSuggestion
|
||||
, listTacticPlans, saveTacticPlan, deleteTacticPlan, saveTournamentSuggestion, reimportOfficialTournament
|
||||
} from '../controllers/officialTournamentController.js';
|
||||
import { fetchTournamentSuggestions, listTournamentSuggestions, updateTournamentSuggestion } from '../controllers/tournamentSuggestionController.js';
|
||||
|
||||
@@ -31,6 +31,7 @@ router.get('/:clubId/:tournamentId/tactics', listTacticPlans);
|
||||
router.post('/:clubId/:tournamentId/tactics', saveTacticPlan);
|
||||
router.patch('/:clubId/:tournamentId/tactics/:planId', saveTacticPlan);
|
||||
router.delete('/:clubId/:tournamentId/tactics/:planId', deleteTacticPlan);
|
||||
router.post('/:clubId/:id/reimport', reimportOfficialTournament);
|
||||
router.get('/:clubId/:id', getParsedTournament);
|
||||
router.patch('/:clubId/:id', updateOfficialTournament);
|
||||
router.delete('/:clubId/:id', deleteOfficialTournament);
|
||||
|
||||
Reference in New Issue
Block a user