diff --git a/crates/api_common/src/site.rs b/crates/api_common/src/site.rs index 0da4b9d6b..d2a94a681 100644 --- a/crates/api_common/src/site.rs +++ b/crates/api_common/src/site.rs @@ -122,7 +122,7 @@ pub struct GetSiteResponse { #[derive(Serialize)] pub struct MyUserInfo { - pub local_user: LocalUserSettingsView, + pub local_user_view: LocalUserSettingsView, pub follows: Vec, pub community_blocks: Vec, pub person_blocks: Vec, diff --git a/crates/api_crud/src/site/read.rs b/crates/api_crud/src/site/read.rs index 58925c7e9..73d1ddfc9 100644 --- a/crates/api_crud/src/site/read.rs +++ b/crates/api_crud/src/site/read.rs @@ -114,7 +114,7 @@ impl PerformCrud for GetSite { .map_err(|_| ApiError::err("system_err_login"))?; Some(MyUserInfo { - local_user: local_user_view, + local_user_view, follows, community_blocks, person_blocks,