fix: FRO-29 Websocket Communication

This commit is contained in:
2025-12-10 09:42:18 +01:00
parent 33efc4e107
commit 690a1e46f5
7 changed files with 23 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ package dto.subDTO
import de.knockoutwhist.cards.Card
import de.knockoutwhist.cards.CardValue.Ace
case class RoundDTO(trumpSuit: CardDTO, firstRound: Boolean, tricklist: List[TrickDTO])
case class RoundDTO(trumpSuit: CardDTO, firstRound: Boolean, trickList: List[TrickDTO])
object RoundDTO {
@@ -11,7 +11,7 @@ object RoundDTO {
RoundDTO(
trumpSuit = CardDTO(Card(Ace, round.trumpSuit)),
firstRound = round.firstRound,
tricklist = round.tricklist.map(trick => TrickDTO(trick))
trickList = round.tricklist.map(trick => TrickDTO(trick))
)
}