Adding camelCase to node-info users.

This commit is contained in:
Dessalines 2021-01-29 13:48:59 -05:00
parent e6a16f08a3
commit 3f23e0e6b9

View file

@ -96,6 +96,7 @@ struct NodeInfoUsage {
} }
#[derive(Serialize, Deserialize, Debug)] #[derive(Serialize, Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
struct NodeInfoUsers { struct NodeInfoUsers {
pub total: i64, pub total: i64,
pub active_half_year: i64, pub active_half_year: i64,