aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-09 09:51:11 +0200
committerChocobozzz <me@florianbigard.com>2022-05-09 09:51:11 +0200
commitf82ea670d83dd7a02843b5ccc36ab1ce180a8d44 (patch)
tree8c7d85934d094a58e6038e63aeff215d043b5929 /server/lib/activitypub
parent543affef08b10cd94f42a37938f0fa17feddda77 (diff)
downloadPeerTube-f82ea670d83dd7a02843b5ccc36ab1ce180a8d44.tar.gz
PeerTube-f82ea670d83dd7a02843b5ccc36ab1ce180a8d44.tar.zst
PeerTube-f82ea670d83dd7a02843b5ccc36ab1ce180a8d44.zip
Fix collection type
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/collection.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/collection.ts b/server/lib/activitypub/collection.ts
index 43a704aa4..f897141ea 100644
--- a/server/lib/activitypub/collection.ts
+++ b/server/lib/activitypub/collection.ts
@@ -18,7 +18,7 @@ async function activityPubCollectionPagination (
18 18
19 return { 19 return {
20 id: baseUrl, 20 id: baseUrl,
21 type: 'OrderedCollectionPage', 21 type: 'OrderedCollection',
22 totalItems: result.total, 22 totalItems: result.total,
23 first: result.data.length === 0 23 first: result.data.length === 0
24 ? undefined 24 ? undefined