refactor(indexer): remove unused getSeasonIdentifier method
This commit is contained in:
@@ -20,6 +20,4 @@ export interface TvShowIndexer {
|
||||
seasonNumber: number;
|
||||
language?: string;
|
||||
}): Promise<TmdbSeasonWithEpisodes>;
|
||||
|
||||
getSeasonIdentifier(req: any): number;
|
||||
}
|
||||
|
||||
@@ -175,10 +175,6 @@ class TheMovieDb extends ExternalAPI implements TvShowIndexer {
|
||||
}
|
||||
};
|
||||
|
||||
getSeasonIdentifier(req: any): number {
|
||||
return req.params.seasonNumber;
|
||||
}
|
||||
|
||||
public searchTvShows = async ({
|
||||
query,
|
||||
page = 1,
|
||||
|
||||
@@ -116,10 +116,6 @@ class Tvdb extends ExternalAPI implements TvShowIndexer {
|
||||
}
|
||||
}
|
||||
|
||||
public getSeasonIdentifier(req: any): number {
|
||||
return req.params.seasonId;
|
||||
}
|
||||
|
||||
private async enrichTmdbShowWithTvdbData(
|
||||
tmdbTvShow: TmdbTvDetails,
|
||||
tvdbId: ValidTvdbId
|
||||
|
||||
Reference in New Issue
Block a user