Skip to content

Commit

Permalink
Read new non-pascal field names
Browse files Browse the repository at this point in the history
Fixes #145
  • Loading branch information
ViViDboarder committed Jul 12, 2024
1 parent 86e7a82 commit e0c3582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vw_admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit e0c3582

Please sign in to comment.