comment::Comment,
comment_view::CommentView,
community::{Community, CommunityModerator, CommunityModeratorForm},
- community_view::CommunityView,
naive_now,
post::Post,
post_view::PostView,
user::User_,
- user_view::UserView,
+ views::{community_view::CommunityView, user_view::UserViewSafe},
ApubObject,
Joinable,
SearchType,
response.users = vec![
blocking(context.pool(), move |conn| {
- UserView::get_user_secure(conn, user.id)
+ UserViewSafe::read(conn, user.id)
})
.await??,
];