fix login response deserialization
This commit is contained in:
parent
5fdc12bfb8
commit
746f76af18
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ pub struct LoginResponse {
|
||||||
pub captcha_needed: bool,
|
pub captcha_needed: bool,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub captcha_gid: String,
|
pub captcha_gid: String,
|
||||||
#[serde(default)]
|
#[serde(default, deserialize_with = "parse_json_string_as_number")]
|
||||||
pub emailsteamid: u64,
|
pub emailsteamid: u64,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub emailauth_needed: bool,
|
pub emailauth_needed: bool,
|
||||||
|
|
Loading…
Reference in a new issue