feat: ban competition + competition list sort

This commit is contained in:
2025-08-21 11:11:04 +02:00
parent 2a1bdfbdcb
commit 0fc871bd46
6 changed files with 85 additions and 20 deletions

View File

@@ -59,8 +59,8 @@ public class CompetitionEndpoints {
@Produces(MediaType.APPLICATION_JSON)
@Operation(hidden = true)
public Uni<Void> removeRegisterComb(@PathParam("id") Long id, @PathParam("comb_id") Long combId,
@PathParam("source") String source) {
return service.removeRegisterComb(securityCtx, id, combId, source);
@PathParam("source") String source, @QueryParam("ban") boolean ban) {
return service.removeRegisterComb(securityCtx, id, combId, source, ban);
}
@GET