diff --git a/playlet-lib/src/components/Services/Invidious/InvidiousService.bs b/playlet-lib/src/components/Services/Invidious/InvidiousService.bs index f85e43a6..04266418 100644 --- a/playlet-lib/src/components/Services/Invidious/InvidiousService.bs +++ b/playlet-lib/src/components/Services/Invidious/InvidiousService.bs @@ -53,7 +53,6 @@ namespace Invidious ChannelInfoHandler: m.ChannelInfoHandler ChannelVideosHandler: m.ChannelVideosHandler ChannelPlaylistsHandler: m.ChannelPlaylistsHandler - ChannelRelatedChannelsHandler: m.ChannelRelatedChannelsHandler WatchHistoryHandler: m.WatchHistoryHandler } end function @@ -351,17 +350,6 @@ namespace Invidious return invalid end function - function ChannelRelatedChannelsHandler(m as object, feedSource as object, response as object) as object - if response.StatusCode() = 200 - json = response.Json() - return { - items: json.relatedChannels - continuation: json.continuation - } - end if - return invalid - end function - function VideoInfoHandler(m as object, feedSource as object, response as object) as object if response.StatusCode() = 200 json = response.Json() diff --git a/playlet-web/src/lib/Api/InvidiousApi.ts b/playlet-web/src/lib/Api/InvidiousApi.ts index d3bddbe7..d64037af 100644 --- a/playlet-web/src/lib/Api/InvidiousApi.ts +++ b/playlet-web/src/lib/Api/InvidiousApi.ts @@ -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);