diff --git a/src/api.ts b/src/api.ts index 24d4ff74..6ac959c4 100644 --- a/src/api.ts +++ b/src/api.ts @@ -20,7 +20,7 @@ type BuildFullPathFunction = (baseURL?: string, requestedURL?: string) => string const buildFullPath: BuildFullPathFunction = require('axios/lib/core/buildFullPath'); /** The authorization header field name. */ -export const AUTHORIZATION_HEADER = 'X-Emby-Authorization'; +export const AUTHORIZATION_HEADER = 'Authorization'; /** Class representing the Jellyfin API. */ export class Api {