From 389449d9a643c7327051e627949cf00f34f4ef14 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 14 Aug 2023 20:37:15 +1000 Subject: when me --- src/activitypub/util/OrderedCollection.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 ( "@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`, }; -- cgit 1.5.1