]> Untitled Git - lemmy.git/blobdiff - lemmy_structs/src/post.rs
Some API cleanup, adding site_id to site aggregates.
[lemmy.git] / lemmy_structs / src / post.rs
index fe6a059e2ecf3fac070686041738f80b5c2782b1..ac29d8f7807d373ad0f24ad697bc141fbedffa93 100644 (file)
@@ -1,6 +1,6 @@
 use lemmy_db::views::{
   comment_view::CommentView,
-  community::{community_moderator_view::CommunityModeratorView, community_view::CommunityView},
+  community::community_moderator_view::CommunityModeratorView,
   post_report_view::PostReportView,
   post_view::PostView,
 };
@@ -31,7 +31,6 @@ pub struct GetPost {
 pub struct GetPostResponse {
   pub post_view: PostView,
   pub comments: Vec<CommentView>,
-  pub community: CommunityView,
   pub moderators: Vec<CommunityModeratorView>,
   pub online: usize,
 }