feat: add number of tables to tournament updates and enhance related UI components
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 47s

This commit is contained in:
Torsten Schulz (local)
2026-05-16 00:18:59 +02:00
parent 40bd5e0745
commit f8f1c797e7
13 changed files with 436 additions and 30 deletions

View File

@@ -91,6 +91,12 @@ class TournamentsApi(
}
suspend fun updateTournament(clubId: Int, tournamentId: Int, body: UpdateTournamentMetaBody): InternalTournamentDetailDto {
// Debug: print body so it appears in device logs (useful during development)
try {
println("[TournamentsApi] updateTournament body: $body")
} catch (t: Throwable) {
// ignore on platforms where println may not be available
}
return client.http.put("/api/tournament/$clubId/$tournamentId") {
setBody(body)
}.body()