fix(jellyfin-api): use standard Authorization header (#2211)

Replace X-Emby-Authorization with Authorization header to fix authentication failures when users
have <EnableLegacyAuthorization>false</EnableLegacyAuthorization> in their Jellyfin system.xml.
This commit is contained in:
fallenbagel
2025-12-08 22:46:47 +08:00
committed by GitHub
parent d660a540da
commit f4fe16608a

View File

@@ -145,7 +145,7 @@ class JellyfinAPI extends ExternalAPI {
{},
{
headers: {
'X-Emby-Authorization': authHeaderVal,
Authorization: authHeaderVal,
'Content-Type': 'application/json',
Accept: 'application/json',
},