From 3f23e0e6b9b9c89d410874cfdf1b78fae0767c84 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 29 Jan 2021 13:48:59 -0500 Subject: [PATCH] Adding camelCase to node-info users. --- src/routes/nodeinfo.rs | 1 + 1 file changed, 1 insertion(+) 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, -- 2.44.1