X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_views_moderator%2Fsrc%2Fstructs.rs;h=85dc006b17a8b26dcc6d4ea6ef38530161e1c512;hb=9dfd819691676994ac52b000fc4f93dfe72bc2b3;hp=863de0704f9a7e9e68f08c018ac4fc1157577fd3;hpb=0ecf256ce32392b53b96a24ddd8f2e4e513281da;p=lemmy.git diff --git a/crates/db_views_moderator/src/structs.rs b/crates/db_views_moderator/src/structs.rs index 863de070..85dc006b 100644 --- a/crates/db_views_moderator/src/structs.rs +++ b/crates/db_views_moderator/src/structs.rs @@ -12,12 +12,12 @@ use lemmy_db_schema::{ ModAddCommunity, ModBan, ModBanFromCommunity, + ModFeaturePost, ModHideCommunity, ModLockPost, ModRemoveComment, ModRemoveCommunity, ModRemovePost, - ModStickyPost, ModTransferCommunity, }, person::PersonSafe, @@ -97,8 +97,8 @@ pub struct ModRemovePostView { } #[derive(Debug, Serialize, Deserialize, Clone)] -pub struct ModStickyPostView { - pub mod_sticky_post: ModStickyPost, +pub struct ModFeaturePostView { + pub mod_feature_post: ModFeaturePost, pub moderator: Option, pub post: Post, pub community: CommunitySafe,