diff --git a/giterated-models/src/messages/user.rs b/giterated-models/src/messages/user.rs index fc2554a..070d936 100644 --- a/giterated-models/src/messages/user.rs +++ b/giterated-models/src/messages/user.rs @@ -51,7 +51,7 @@ pub struct UserSettingsRequest { #[derive(Clone, Debug, PartialEq, Eq, Serialize, Default, Deserialize)] pub struct UserSettingsResponse { - settings: HashMap, + pub settings: HashMap, } impl UserSettingsResponse { @@ -69,7 +69,7 @@ impl UserSettingsResponse { #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] pub struct UserWriteSettingsRequest { pub user: User, - settings: Vec<(String, serde_json::Value)>, + pub settings: Vec<(String, serde_json::Value)>, } impl UserWriteSettingsRequest {