fix(account): Fix moved field on Account (#31)

This commit is contained in:
Klaus Purer
2018-06-28 08:44:28 +01:00
committed by Aaron Power
parent 0c312cecfc
commit bc68726d23
+1 -1
View File
@@ -44,7 +44,7 @@ pub struct Account {
pub source: Option<Source>, pub source: Option<Source>,
/// If the owner decided to switch accounts, new account is in /// If the owner decided to switch accounts, new account is in
/// this attribute /// this attribute
pub moved: Option<String>, pub moved: Option<Box<Account>>,
} }
/// An extra object given from `verify_credentials` giving defaults about a user /// An extra object given from `verify_credentials` giving defaults about a user