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,
|
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
|
||||||
|
|
Loading…
Reference in New Issue