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:
parent
f65e5e3d41
commit
9ee17d4fb9
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue