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/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/readmes/%7BcommunityRSSUrl%28?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,