accounts must be Optional

main
DaXcess 2022-11-01 12:57:18 +01:00
parent 90354c7a60
commit dccf8c2057
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ pub struct User {
pub id: String, pub id: String,
pub device_name: String, pub device_name: String,
pub request: Option<Request>, pub request: Option<Request>,
pub accounts: Vec<Account>, pub accounts: Option<Vec<Account>>,
} }
#[derive(Deserialize)] #[derive(Deserialize)]