From 3b908af0fe4faf09da3a733b54723e956f4cd496 Mon Sep 17 00:00:00 2001 From: TOomaAh Date: Sun, 27 Oct 2024 01:18:27 +0200 Subject: [PATCH] fix(test): fix discover test --- server/lib/settings/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/settings/index.ts b/server/lib/settings/index.ts index fc11cf02..26824949 100644 --- a/server/lib/settings/index.ts +++ b/server/lib/settings/index.ts @@ -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();