diff --git a/src/api_data/admin/admin_user_info_api.rs b/src/api_data/admin/admin_user_info_api.rs index 77a92c2..a024bfa 100644 --- a/src/api_data/admin/admin_user_info_api.rs +++ b/src/api_data/admin/admin_user_info_api.rs @@ -17,6 +17,7 @@ pub struct AdminUserInfoAPI { page_visibility: &'static str, directory: Option, account_image: String, + account_image_visibility: String, friend_list_public: bool, is_email_public: bool, personal_website: Option, @@ -32,6 +33,7 @@ impl AdminUserInfoAPI { pub fn new(user: User) -> Self { Self { account_image: user.account_image_url_for_admin(), + account_image_visibility: user.account_image_visibility.to_api(), friend_list_public: user.public_friends_list, is_email_public: user.is_email_public, personal_website: user.personal_website,