mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
* refactor(lunasea-removal): remove LunaSea fixes #1756 * chore(localization): undo localization changes in favor of weblate
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import type { AllSettings } from '@server/lib/settings';
|
|
|
|
const removeLunaSeaSetting = (settings: any): AllSettings => {
|
|
if (
|
|
settings.notifications &&
|
|
settings.notifications.agents &&
|
|
settings.notifications.agents.lunasea
|
|
) {
|
|
delete settings.notifications.agents.lunasea;
|
|
}
|
|
return settings;
|
|
};
|
|
|
|
export default removeLunaSeaSetting;
|