diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/activitypub.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts index 97115680c..aa5485850 100644 --- a/server/helpers/activitypub.ts +++ b/server/helpers/activitypub.ts | |||
@@ -25,8 +25,9 @@ function activityPubContextify <T> (data: T) { | |||
25 | }) | 25 | }) |
26 | } | 26 | } |
27 | 27 | ||
28 | function activityPubCollection (results: any[]) { | 28 | function activityPubCollection (url: string, results: any[]) { |
29 | return { | 29 | return { |
30 | id: url, | ||
30 | type: 'OrderedCollection', | 31 | type: 'OrderedCollection', |
31 | totalItems: results.length, | 32 | totalItems: results.length, |
32 | orderedItems: results | 33 | orderedItems: results |