Explorar el Código

Merge pull request #313 from medwards/alias_facebook_fields

Add credentials field alias
Sasha Hilton hace 6 años
padre
commit
c55c63cdf0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      core/src/authentication.rs

+ 1 - 0
core/src/authentication.rs

@@ -22,6 +22,7 @@ pub struct Credentials {
     #[serde(deserialize_with = "deserialize_protobuf_enum")]
     pub auth_type: AuthenticationType,
 
+    #[serde(alias = "encoded_auth_blob")]
     #[serde(serialize_with = "serialize_base64")]
     #[serde(deserialize_with = "deserialize_base64")]
     pub auth_data: Vec<u8>,