fix(test): fix discover test

This commit is contained in:
TOomaAh
2024-10-27 01:18:27 +02:00
parent 6f8d4bf00a
commit 57e2f7b374

View File

@@ -697,7 +697,7 @@ export const getSettings = (initialSettings?: AllSettings): Settings => {
export const getIndexer = (): TvShowIndexer => {
const settings = getSettings();
if (settings.tvdb.use) {
if (settings.tvdb?.use) {
return new Tvdb();
} else {
return new TheMovieDb();