chore: imports, renamed future routes
This commit is contained in:
parent
3e0e4ff8d3
commit
e4b92584db
2 changed files with 3 additions and 3 deletions
|
@ -64,8 +64,8 @@ impl ActivityPubRouter for Router<crate::server::Context> {
|
|||
.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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
Loading…
Reference in a new issue