style: fix spotless formatting on joinTournament signature
Build & Test (NowChessSystems) TeamCity build failed
Build & Test (NowChessSystems) TeamCity build failed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+6
-1
@@ -50,7 +50,12 @@ class TournamentBotGamePlayer:
|
|||||||
log.infof("Tournament bot enabled — server=%s tournament=%s bot=%s", cfg.serverUrl, cfg.tournamentId, cfg.botId)
|
log.infof("Tournament bot enabled — server=%s tournament=%s bot=%s", cfg.serverUrl, cfg.tournamentId, cfg.botId)
|
||||||
startAsync(cfg)
|
startAsync(cfg)
|
||||||
|
|
||||||
def joinTournament(tournamentId: String, botToken: String, difficulty: String, serverUrl: String): Either[String, String] =
|
def joinTournament(
|
||||||
|
tournamentId: String,
|
||||||
|
botToken: String,
|
||||||
|
difficulty: String,
|
||||||
|
serverUrl: String,
|
||||||
|
): Either[String, String] =
|
||||||
TournamentBotConfig.jwtSubject(botToken) match
|
TournamentBotConfig.jwtSubject(botToken) match
|
||||||
case None => Left("Invalid bot token — could not extract subject")
|
case None => Left("Invalid bot token — could not extract subject")
|
||||||
case Some(botId) =>
|
case Some(botId) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user