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/%24%7B%60data:application/static/%7B%60https:/%7B%60/feeds/%7BpictrsAvatarThumbnail%28user.avatar%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,