1
0
Fork 0
forked from alemi/upub

chore: imports, renamed future routes

This commit is contained in:
əlemi 2024-04-29 21:23:02 +02:00
parent 3e0e4ff8d3
commit e4b92584db
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 3 additions and 3 deletions

View file

@ -64,8 +64,8 @@ impl ActivityPubRouter for Router<crate::server::Context> {
.route("/objects/:id/replies/page", get(ap::object::replies::page)) .route("/objects/:id/replies/page", get(ap::object::replies::page))
//.route("/objects/:id/likes", get(ap::object::likes::get)) //.route("/objects/:id/likes", get(ap::object::likes::get))
//.route("/objects/:id/likes/page", get(ap::object::likes::page)) //.route("/objects/:id/likes/page", get(ap::object::likes::page))
//.route("/objects/:id/announces", get(ap::object::announces::get)) //.route("/objects/:id/shares", get(ap::object::announces::get))
//.route("/objects/:id/announces/page", get(ap::object::announces::page)) //.route("/objects/:id/shares/page", get(ap::object::announces::page))
} }
} }

View file

@ -1,6 +1,6 @@
pub mod replies; pub mod replies;
use apb::{BaseMut, CollectionMut, ObjectMut}; use apb::ObjectMut;
use axum::extract::{Path, Query, State}; use axum::extract::{Path, Query, State};
use sea_orm::{ColumnTrait, ModelTrait, QueryFilter}; use sea_orm::{ColumnTrait, ModelTrait, QueryFilter};