1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-23 01:30:52 +02:00

fix: admin role being required for tournament create

This commit is contained in:
FreshGuy32 2024-05-13 18:03:02 +00:00
parent 4f4c54242e
commit 99f1826c8d

View file

@ -35,7 +35,7 @@ public class TournamentEndpoint {
this.tournamentMapper = tournamentMapper;
}
@Secured("ROLE_ADMIN")
@Secured("ROLE_USER")
@ResponseStatus(HttpStatus.CREATED)
@PostMapping
@Operation(summary = "Create a new tournament", security = @SecurityRequirement(name = "apiKey"))