feat(api): Enhance event mappers to include GameLobby in JSON serialization

This commit is contained in:
2025-11-24 14:31:17 +01:00
parent 5136d14522
commit 3262ccfc06
6 changed files with 26 additions and 14 deletions

View File

@@ -26,6 +26,7 @@ class UserSession(val user: User, val host: Boolean, val gameLobby: GameLobby) e
else canInteract = Some(InteractionType.Card)
case _ =>
}
websocketActor.foreach(_.transmitEventToClient(event))
}
override def id: UUID = user.id