change cardOnCurrentStack on lastCardPlayer

This commit is contained in:
2025-04-14 23:39:49 +02:00
parent 3434d43fc2
commit 48ac4156bd
5 changed files with 14 additions and 19 deletions
@@ -41,7 +41,6 @@ fun Route.readTheGameState(gameStateRepository: GameStateRepository) {
gameStateRepository
.getLast(body.game.id)
.cardOnCurrentStack
?.card
?.let { call.respond(it) }
?: call.response.status(HttpStatusCode.BadRequest)
}