chore: merge upstream (#2024)

This commit is contained in:
Gauthier
2025-10-09 05:34:31 +02:00
committed by GitHub
parent f292d93d10
commit 34fcc5d2c7
6 changed files with 356 additions and 150 deletions

View File

@@ -8,7 +8,7 @@ import { getHostname } from '@server/utils/getHostname';
const migrateApiTokens = async (settings: any): Promise<AllSettings> => {
const mediaServerType = settings.main.mediaServerType;
if (
!settings.jellyfin.apiKey &&
!settings.jellyfin?.apiKey &&
(mediaServerType === MediaServerType.JELLYFIN ||
mediaServerType === MediaServerType.EMBY)
) {