feat: implement table assignment and distribution for tournament matches
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 44s
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 44s
This commit is contained in:
@@ -156,6 +156,12 @@ class TournamentsApi(
|
||||
}
|
||||
}
|
||||
|
||||
suspend fun distributeTables(body: TournamentClubTournamentBody) {
|
||||
client.http.post("/api/tournament/matches/distribute") {
|
||||
setBody(body)
|
||||
}
|
||||
}
|
||||
|
||||
suspend fun getGroups(clubId: Int, tournamentId: Int): JsonElement {
|
||||
return client.http.get("/api/tournament/groups") {
|
||||
parameter("clubId", clubId)
|
||||
|
||||
Reference in New Issue
Block a user