From: Dessalines Date: Fri, 29 Jan 2021 18:48:59 +0000 (-0500) Subject: Adding camelCase to node-info users. X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/%7Brss%7D?a=commitdiff_plain;h=3f23e0e6b9b9c89d410874cfdf1b78fae0767c84;p=lemmy.git Adding camelCase to node-info users. --- diff --git a/src/routes/nodeinfo.rs b/src/routes/nodeinfo.rs index e2f038fd..a498f55c 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,