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/%22https:/image.com/readmes/%7Bthis.captchaPngSrc%28%29%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,