diff --git a/backend_rust/src/api/auth.rs b/backend_rust/src/api/auth.rs index 535d1bc..461b0c3 100644 --- a/backend_rust/src/api/auth.rs +++ b/backend_rust/src/api/auth.rs @@ -9,6 +9,7 @@ use crate::error::ApiError; use crate::middleware::auth::create_token; #[derive(Debug, Deserialize)] +#[serde(rename_all = "camelCase")] pub struct RegisterRequest { pub username: String, pub password: String,