fix: context and replies and follow___ /page
This commit is contained in:
parent
789fae1eae
commit
01d0e4df85
3 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ pub async fn page(
|
|||
|
||||
Ok(JsonLD(
|
||||
ctx.ap_collection_page(
|
||||
&url!(ctx, "/context/{id}"),
|
||||
&url!(ctx, "/context/{id}/page"),
|
||||
offset, limit,
|
||||
items
|
||||
.into_iter()
|
||||
|
|
|
@ -51,7 +51,7 @@ pub async fn page(
|
|||
|
||||
Ok(JsonLD(
|
||||
ctx.ap_collection_page(
|
||||
&url!(ctx, "/objects/{id}/replies"),
|
||||
&url!(ctx, "/objects/{id}/replies/page"),
|
||||
offset, limit,
|
||||
items
|
||||
.into_iter()
|
||||
|
|
|
@ -48,7 +48,7 @@ pub async fn page<const OUTGOING: bool>(
|
|||
Ok(following) => {
|
||||
Ok(JsonLD(
|
||||
ctx.ap_collection_page(
|
||||
&url!(ctx, "/users/{id}/{follow___}"),
|
||||
&url!(ctx, "/users/{id}/{follow___}/page"),
|
||||
offset,
|
||||
limit,
|
||||
following.into_iter().map(serde_json::Value::String).collect()
|
||||
|
|
Loading…
Reference in a new issue