fix: bot name and id return, websocket

This commit is contained in:
Lala, Shahd
2026-05-31 21:28:04 +00:00
committed by LQ63
parent 35d7e0dc85
commit 587e34babc
6 changed files with 21 additions and 7 deletions
@@ -140,7 +140,7 @@ class TournamentService:
Some(CorePlayerInfo(white.botId, white.botName)),
Some(CorePlayerInfo(black.botId, black.botName)),
Some(tc),
if t.rated then Some("Rated") else Some("Casual"),
Some("Authenticated"),
)
Try(coreGameClient.createGame(req)) match
case Failure(ex) => log.errorf(ex, "Failed to create game for round %d in tournament %s", round, tournamentId)