refactor(indexer): remove unused getSeasonIdentifier method

This commit is contained in:
TOomaAh
2024-10-28 18:37:52 +01:00
parent b865d65fad
commit 85aeeb084e
3 changed files with 0 additions and 10 deletions

View File

@@ -20,6 +20,4 @@ export interface TvShowIndexer {
seasonNumber: number;
language?: string;
}): Promise<TmdbSeasonWithEpisodes>;
getSeasonIdentifier(req: any): number;
}

View File

@@ -175,10 +175,6 @@ class TheMovieDb extends ExternalAPI implements TvShowIndexer {
}
};
getSeasonIdentifier(req: any): number {
return req.params.seasonNumber;
}
public searchTvShows = async ({
query,
page = 1,

View File

@@ -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