JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

fixes

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨1e7a151

Showing ⁨⁨1⁩ changed file⁩ with ⁨⁨2⁩ insertions⁩ and ⁨⁨2⁩ deletions⁩

giterated-models/src/messages/user.rs

View file
@@ -51,7 +51,7 @@ pub struct UserSettingsRequest {
51 51
52 52 #[derive(Clone, Debug, PartialEq, Eq, Serialize, Default, Deserialize)]
53 53 pub struct UserSettingsResponse {
54 settings: HashMap<String, serde_json::Value>,
54 pub settings: HashMap<String, serde_json::Value>,
55 55 }
56 56
57 57 impl UserSettingsResponse {
@@ -69,7 +69,7 @@ impl UserSettingsResponse {
69 69 #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
70 70 pub struct UserWriteSettingsRequest {
71 71 pub user: User,
72 settings: Vec<(String, serde_json::Value)>,
72 pub settings: Vec<(String, serde_json::Value)>,
73 73 }
74 74
75 75 impl UserWriteSettingsRequest {