Skip to content

Commit

Permalink
Update authorization header name
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill committed Jun 17, 2022
1 parent f6712aa commit 6c80708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6c80708

Please sign in to comment.