diff --git a/src/routes/activitypub/mod.rs b/src/routes/activitypub/mod.rs index 2b9ff0d1..43d3bb0b 100644 --- a/src/routes/activitypub/mod.rs +++ b/src/routes/activitypub/mod.rs @@ -64,8 +64,8 @@ impl ActivityPubRouter for Router { .route("/objects/:id/replies/page", get(ap::object::replies::page)) //.route("/objects/:id/likes", get(ap::object::likes::get)) //.route("/objects/:id/likes/page", get(ap::object::likes::page)) - //.route("/objects/:id/announces", get(ap::object::announces::get)) - //.route("/objects/:id/announces/page", get(ap::object::announces::page)) + //.route("/objects/:id/shares", get(ap::object::announces::get)) + //.route("/objects/:id/shares/page", get(ap::object::announces::page)) } } diff --git a/src/routes/activitypub/object/mod.rs b/src/routes/activitypub/object/mod.rs index d4a57cf0..2a8406f6 100644 --- a/src/routes/activitypub/object/mod.rs +++ b/src/routes/activitypub/object/mod.rs @@ -1,6 +1,6 @@ pub mod replies; -use apb::{BaseMut, CollectionMut, ObjectMut}; +use apb::ObjectMut; use axum::extract::{Path, Query, State}; use sea_orm::{ColumnTrait, ModelTrait, QueryFilter};