fix login response deserialization

This commit is contained in:
Carson McManus 2021-08-10 21:07:04 -04:00
parent 5fdc12bfb8
commit 746f76af18

View file

@ -28,7 +28,7 @@ pub struct LoginResponse {
pub captcha_needed: bool,
#[serde(default)]
pub captcha_gid: String,
#[serde(default)]
#[serde(default, deserialize_with = "parse_json_string_as_number")]
pub emailsteamid: u64,
#[serde(default)]
pub emailauth_needed: bool,