Remove deprecated related channels leftover
This commit is contained in:
1 parent
0cc8cdf2be
commit
5ff02af7ac
2 files changed
-20
No files matched your search
@@ -18,7 +18,6 @@ export class InvidiousApi {
|
||||
"ChannelInfoHandler": (requestData, response) => this.ChannelInfoHandler(requestData, response),
|
||||
"ChannelVideosHandler": (requestData, response) => this.ChannelVideosHandler(requestData, response),
|
||||
"ChannelPlaylistsHandler": (requestData, response) => this.ChannelPlaylistsHandler(requestData, response),
|
||||
"ChannelRelatedChannelsHandler": (requestData, response) => this.ChannelRelatedChannelsHandler(requestData, response),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -211,13 +210,6 @@ export class InvidiousApi {
|
||||
};
|
||||
}
|
||||
|
||||
private async ChannelRelatedChannelsHandler(feedSource, responseJson) {
|
||||
return {
|
||||
items: responseJson.relatedChannels,
|
||||
continuation: responseJson.continuation
|
||||
};
|
||||
}
|
||||
|
||||
private makeUrl(url: string, params: any) {
|
||||
const encodedUrl = new URL(url);
|
||||
const existingParams = new URLSearchParams(encodedUrl.search);
|
||||
|
||||
Reference in new issue
Block a user