summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-14 20:37:15 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-14 20:37:15 +1000
commit389449d9a643c7327051e627949cf00f34f4ef14 (patch)
treedfa66c55bc02bb770964ce8200dff2f4f52e95f3 /src
parenttesting in prod moment (diff)
downloadserver-389449d9a643c7327051e627949cf00f34f4ef14.tar.xz
when me
Diffstat (limited to 'src')
-rw-r--r--src/activitypub/util/OrderedCollection.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/activitypub/util/OrderedCollection.ts b/src/activitypub/util/OrderedCollection.ts

index 8926cea2..5a53b555 100644 --- a/src/activitypub/util/OrderedCollection.ts +++ b/src/activitypub/util/OrderedCollection.ts
@@ -18,6 +18,7 @@ export const makeOrderedCollection = async <T extends ActivityPubable>( "@context": "https://www.w3.org/ns/activitystreams", id: id, type: "OrderedCollection", + totalItems: await getTotalElements(), first: `${id}?page=true`, last: `${id}?page=true&min_id=0`, };