Compat' with latest local filter

This commit is contained in:
Chocobozzz 2023-08-03 16:32:22 +02:00
parent a5d0567bb3
commit 02b61d4ddc
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,8 @@ async function getVideos (host: string, start: number): Promise<IndexableVideo[]
uri: url, uri: url,
qs: { qs: {
start, start,
filter: 'local', filter: 'local', // Deprecated filter for old PeerTube instances
isLocal: true,
nsfw: 'both', nsfw: 'both',
skipCount: true, skipCount: true,
count: INDEXER_COUNT count: INDEXER_COUNT
@ -77,7 +78,6 @@ async function getPlaylistsOf (host: string, handle: string, start: number): Pro
uri: url, uri: url,
qs: { qs: {
start, start,
filter: 'local',
count: INDEXER_COUNT count: INDEXER_COUNT
}, },
json: true json: true