]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix collection type
authorChocobozzz <me@florianbigard.com>
Mon, 9 May 2022 07:51:11 +0000 (09:51 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 9 May 2022 07:51:11 +0000 (09:51 +0200)
server/lib/activitypub/collection.ts

index 43a704aa4f3b0c9b59c139670199e2f22d4c7cc7..f897141ea97c5787a681f19a4159d0842fae23df 100644 (file)
@@ -18,7 +18,7 @@ async function activityPubCollectionPagination (
 
     return {
       id: baseUrl,
-      type: 'OrderedCollectionPage',
+      type: 'OrderedCollection',
       totalItems: result.total,
       first: result.data.length === 0
         ? undefined