Compat' with latest local filter
This commit is contained in:
parent
a5d0567bb3
commit
02b61d4ddc
|
@ -55,7 +55,8 @@ async function getVideos (host: string, start: number): Promise<IndexableVideo[]
|
|||
uri: url,
|
||||
qs: {
|
||||
start,
|
||||
filter: 'local',
|
||||
filter: 'local', // Deprecated filter for old PeerTube instances
|
||||
isLocal: true,
|
||||
nsfw: 'both',
|
||||
skipCount: true,
|
||||
count: INDEXER_COUNT
|
||||
|
@ -77,7 +78,6 @@ async function getPlaylistsOf (host: string, handle: string, start: number): Pro
|
|||
uri: url,
|
||||
qs: {
|
||||
start,
|
||||
filter: 'local',
|
||||
count: INDEXER_COUNT
|
||||
},
|
||||
json: true
|
||||
|
|
Loading…
Reference in New Issue