Skip to content
Snippets Groups Projects
Commit 7074a3b5 authored by Häderle Marius's avatar Häderle Marius
Browse files

08.01.2024 - added path to Mapping determineWinner #24

parent ed9e8420
No related branches found
No related tags found
1 merge request!7Dev in Main Merge
......@@ -65,7 +65,7 @@ public class TournamentController {
@PathVariable UUID playerId) throws PlayerIdNotFoundException, TeamIdNotFoundException {
return service.removePlayerFromTeam(teamId, playerId);
}
@PatchMapping
@PatchMapping("/tournaments/{tournamentId}/match/{matchId}")
public UUID determineWinner(@PathVariable UUID tournamentId,
@PathVariable UUID matchId) throws TournamentIdNotFoundException, MatchIdNotFoundException, WinnerNotDeterminedException {
return service.determineWinner(tournamentId, matchId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment