1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Fix collection type

This commit is contained in:
Chocobozzz 2022-05-09 09:51:11 +02:00
parent 543affef08
commit f82ea670d8
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

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