mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
chore(migrations): proper rename & clean up of media server type migration (#939)
This commit is contained in:
@@ -3,7 +3,6 @@ import type { AllSettings } from '@server/lib/settings';
|
|||||||
|
|
||||||
const migrateHostname = (settings: any): AllSettings => {
|
const migrateHostname = (settings: any): AllSettings => {
|
||||||
const oldMediaServerType = settings.main.mediaServerType;
|
const oldMediaServerType = settings.main.mediaServerType;
|
||||||
console.log('Migrating media server type', oldMediaServerType);
|
|
||||||
if (
|
if (
|
||||||
oldMediaServerType === MediaServerType.JELLYFIN &&
|
oldMediaServerType === MediaServerType.JELLYFIN &&
|
||||||
process.env.JELLYFIN_TYPE === 'emby'
|
process.env.JELLYFIN_TYPE === 'emby'
|
||||||
Reference in New Issue
Block a user