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
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 47s
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user