fix: oops forgot extra argument here
this is really ugly and unintuitive but im working on builder patterns
directly in apb so this should get refactored away too soon™️
This commit is contained in:
parent
5e32959c61
commit
48768b0e1a
4 changed files with 5 additions and 3 deletions
|
@ -119,6 +119,7 @@ pub async fn page<const OUTGOING: bool>(
|
|||
crate::builders::collection_page(
|
||||
&upub::url!(ctx, "/actors/{id}/{follow___}/page"),
|
||||
offset, limit,
|
||||
following.into_iter().map(serde_json::Value::String).collect()
|
||||
following.into_iter().map(serde_json::Value::String).collect(),
|
||||
true
|
||||
)
|
||||
}
|
||||
|
|
|
@ -52,6 +52,6 @@ pub async fn page(
|
|||
.map(|x| x.ap())
|
||||
.collect();
|
||||
|
||||
crate::builders::collection_page(&upub::url!(ctx, "/actors/{id}/notifications/page"), offset, limit, activities)
|
||||
crate::builders::collection_page(&upub::url!(ctx, "/actors/{id}/notifications/page"), offset, limit, activities, true)
|
||||
|
||||
}
|
||||
|
|
|
@ -51,5 +51,5 @@ pub async fn page(
|
|||
.map(|item| item.ap())
|
||||
.collect();
|
||||
|
||||
crate::builders::collection_page(&id, offset, limit, items)
|
||||
crate::builders::collection_page(&id, offset, limit, items, true)
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ pub async fn page(
|
|||
offset,
|
||||
limit,
|
||||
objects,
|
||||
true,
|
||||
)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue