fix(test): fix discover test

This commit is contained in:
TOomaAh
2024-10-27 01:18:27 +02:00
parent bedc8c4579
commit 3b908af0fe

View File

@@ -792,7 +792,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();