refactor(account): update time control structure and remove deprecated fields

This commit is contained in:
2026-05-19 14:33:03 +02:00
parent 411eed2453
commit ec22a9585e
5 changed files with 27 additions and 21 deletions
@@ -44,7 +44,7 @@ class ChallengeResourceTest:
.path[String]("token")
private val clockBody =
"""{"color":"random","timeControl":{"type":"clock","limit":300,"increment":5}}"""
"""{"color":"random","timeControl":{"limitSeconds":300,"incrementSeconds":5}}"""
private def authed(token: String) =
givenRequest().header("Authorization", s"Bearer $token")