From c363190f835eb2585483b1442cb70d2b598308d6 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Mon, 10 Jul 2023 11:46:49 +0100 Subject: [PATCH] chore: change output --- src/configure.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/configure.rs b/src/configure.rs index e18dc2b..54c41fe 100644 --- a/src/configure.rs +++ b/src/configure.rs @@ -150,6 +150,8 @@ pub async fn get_configure(db: &State) -> String { let mut stmt = stmt.unwrap(); #[derive(Deserialize, Serialize)] + #[serde(crate = "rocket::serde")] + #[serde(rename_all = "camelCase")] struct Data { id: u32, ledcount: u32,