1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-23 05:40:51 +02:00

feat(#23): remove generate from api call url

This commit is contained in:
FreshGuy32 2024-05-15 19:15:11 +00:00 committed by FreshGuy32
parent f65e5e3d41
commit 9ee17d4fb9

View file

@ -71,7 +71,7 @@ public class TournamentEndpoint {
@Secured("ROLE_USER")
@ResponseStatus(HttpStatus.CREATED)
@PostMapping(value = "{id}/generate-qualification-matches")
@PostMapping(value = "{id}/qualification-matches")
@Operation(summary = "Create a new tournament", security = @SecurityRequirement(name = "apiKey"))
public List<TournamentQualificationMatchDto> generateQualificationMatches(
@PathVariable(name = "id") Long tournamentId,