mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Rename to local_user_view
This commit is contained in:
parent
d90d569457
commit
a900cec1bf
2 changed files with 2 additions and 2 deletions
|
@ -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>,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue