From e755b47e3858d59de4674192d180fa396c3a1faf Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 16 Feb 2023 10:41:12 +0200 Subject: [PATCH] fix(sdbclient): correct fields to Options in GameData --- sdbclient/src/api/game/types.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdbclient/src/api/game/types.rs b/sdbclient/src/api/game/types.rs index 6238a95..149aaa8 100644 --- a/sdbclient/src/api/game/types.rs +++ b/sdbclient/src/api/game/types.rs @@ -58,10 +58,10 @@ pub struct GameData { pub id: String, pub created_at: String, pub updated_at: String, - pub actions: Vec, + pub actions: Option>, pub turn: GameTurn, - pub host_hand: String, - pub host_deck: String, - pub guest_hand: String, - pub guest_deck: String, + pub host_hand: Option, + pub host_deck: Option, + pub guest_hand: Option, + pub guest_deck: Option, } -- 2.44.1