From 9bfe59c3bddd7ba95397880313344c115d98548c Mon Sep 17 00:00:00 2001 From: Ben Beauchamp Date: Mon, 27 Jan 2025 17:20:04 -0600 Subject: [PATCH] refactor(blacklist): remove blacktag settings from public settings interfaces There's no reason for it to be there --- server/interfaces/api/settingsInterfaces.ts | 2 -- src/context/SettingsContext.tsx | 2 -- src/pages/_app.tsx | 2 -- 3 files changed, 6 deletions(-) diff --git a/server/interfaces/api/settingsInterfaces.ts b/server/interfaces/api/settingsInterfaces.ts index eb55d311..0e97c2bf 100644 --- a/server/interfaces/api/settingsInterfaces.ts +++ b/server/interfaces/api/settingsInterfaces.ts @@ -36,8 +36,6 @@ export interface PublicSettingsResponse { discoverRegion: string; streamingRegion: string; originalLanguage: string; - blacktags: string; - blacktagsLimit: number; mediaServerType: number; partialRequestsEnabled: boolean; enableSpecialEpisodes: boolean; diff --git a/src/context/SettingsContext.tsx b/src/context/SettingsContext.tsx index 74a7a8a2..a1b69ae2 100644 --- a/src/context/SettingsContext.tsx +++ b/src/context/SettingsContext.tsx @@ -20,8 +20,6 @@ const defaultSettings = { discoverRegion: '', streamingRegion: '', originalLanguage: '', - blacktags: '', - blacktagsLimit: 50, mediaServerType: MediaServerType.NOT_CONFIGURED, partialRequestsEnabled: true, enableSpecialEpisodes: false, diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index c287e60c..9e87cbdf 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -228,8 +228,6 @@ CoreApp.getInitialProps = async (initialProps) => { discoverRegion: '', streamingRegion: '', originalLanguage: '', - blacktags: '', - blacktagsLimit: 50, mediaServerType: MediaServerType.NOT_CONFIGURED, partialRequestsEnabled: true, enableSpecialEpisodes: false,