ModAddView,
ModBanFromCommunityView,
ModBanView,
+ ModFeaturePostView,
ModHideCommunityView,
ModLockPostView,
ModRemoveCommentView,
ModRemoveCommunityView,
ModRemovePostView,
- ModStickyPostView,
ModTransferCommunityView,
ModlogListParams,
};
_ => Default::default(),
};
- let stickied_posts = match type_ {
- All | ModStickyPost => ModStickyPostView::list(context.pool(), params).await?,
+ let featured_posts = match type_ {
+ All | ModFeaturePost => ModFeaturePostView::list(context.pool(), params).await?,
_ => Default::default(),
};
Ok(GetModlogResponse {
removed_posts,
locked_posts,
- stickied_posts,
+ featured_posts,
removed_comments,
removed_communities,
banned_from_community,