Read new non-pascal field names

Fixes #145
This commit is contained in:
ViViDboarder 2024-07-12 14:00:38 -07:00
parent 86e7a827f6
commit e0c3582bdb

View File

@ -23,9 +23,9 @@ pub enum ResponseError {
#[derive(Debug, Deserialize)]
pub struct User {
#[serde(rename = "Email")]
#[serde(alias = "Email")]
email: String,
#[serde(rename = "_Status")]
#[serde(rename = "_status", alias = "_Status")]
status: i32,
}