diff --git a/src/routes/nodeinfo.rs b/src/routes/nodeinfo.rs index e2f038fd2..a498f55c0 100644 --- a/src/routes/nodeinfo.rs +++ b/src/routes/nodeinfo.rs @@ -96,6 +96,7 @@ struct NodeInfoUsage { } #[derive(Serialize, Deserialize, Debug)] +#[serde(rename_all = "camelCase")] struct NodeInfoUsers { pub total: i64, pub active_half_year: i64,