Skip to content

Commit

Permalink
Fix Prelogin Response contents and case
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonytam committed Aug 3, 2024
1 parent a28fcdb commit 0dbc901
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types/bw_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ pub struct BwLoginResponse {
}

#[derive(Serialize, Deserialize, Debug)]
#[serde(rename_all = "PascalCase")]
#[serde(rename_all = "camelCase")]
pub struct BwPreloginResponse {
pub kdf: u32,
pub kdf_iterations: usize,
pub kdf_memory: Option<u32>,
pub kdf_parallelism: Option<u32>,
}

#[derive(Serialize, Deserialize, Debug)]
Expand Down

0 comments on commit 0dbc901

Please sign in to comment.