This commit is contained in:
parent
065d22d6f4
commit
c363190f83
@ -150,6 +150,8 @@ pub async fn get_configure(db: &State<DBPool>) -> String {
|
||||
let mut stmt = stmt.unwrap();
|
||||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
#[serde(crate = "rocket::serde")]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
struct Data {
|
||||
id: u32,
|
||||
ledcount: u32,
|
||||
|
Loading…
Reference in New Issue
Block a user