Rename to local_user_view

This commit is contained in:
Dessalines 2021-08-10 19:10:56 -04:00
parent d90d569457
commit a900cec1bf
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ pub struct GetSiteResponse {
#[derive(Serialize)]
pub struct MyUserInfo {
pub local_user: LocalUserSettingsView,
pub local_user_view: LocalUserSettingsView,
pub follows: Vec<CommunityFollowerView>,
pub community_blocks: Vec<CommunityBlockView>,
pub person_blocks: Vec<PersonBlockView>,

View file

@ -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,