]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/http/routes.rs
Implement separate mod activities for feature, lock post (#2716)
[lemmy.git] / crates / apub / src / http / routes.rs
index a588b3127b03295cebabd31bc44ce6a4f22c173c..4d4941f534d83def72239d750e30a34a87b8e02c 100644 (file)
@@ -2,6 +2,7 @@ use crate::http::{
   comment::get_apub_comment,
   community::{
     community_inbox,
+    get_apub_community_featured,
     get_apub_community_followers,
     get_apub_community_http,
     get_apub_community_moderators,
@@ -37,6 +38,10 @@ pub fn config(cfg: &mut web::ServiceConfig) {
       "/c/{community_name}/outbox",
       web::get().to(get_apub_community_outbox),
     )
+    .route(
+      "/c/{community_name}/featured",
+      web::get().to(get_apub_community_featured),
+    )
     .route(
       "/c/{community_name}/moderators",
       web::get().to(get_apub_community_moderators),