mirror of
https://github.com/seerr-team/seerr.git
synced 2026-06-15 11:59:11 -04:00
refactor(tv): change getSettings to synchronous call
This commit is contained in:
@@ -86,7 +86,7 @@ tvRoutes.get('/:id/season/:seasonNumber', async (req, res, next) => {
|
||||
|
||||
const availableMap: Record<number, boolean> = {};
|
||||
|
||||
const settings = await getSettings();
|
||||
const settings = getSettings();
|
||||
const shouldTrackEpisodes =
|
||||
settings.main.enableEpisodeAvailability &&
|
||||
(settings.metadataSettings.tv === MetadataProviderType.TVDB ||
|
||||
|
||||
Reference in New Issue
Block a user