use PascalCase for api_key parameter

This commit is contained in:
Niels van Velzen
2025-07-09 22:12:17 +02:00
parent bb752cdcb2
commit de100462c3
4 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -1277,7 +1277,7 @@ export class HtmlVideoPlayer {
}
});
const fallbackFontList = apiClient.getUrl('/FallbackFont/Fonts', {
api_key: apiClient.accessToken()
ApiKey: apiClient.accessToken()
});
const htmlVideoPlayer = this;
import('@jellyfin/libass-wasm').then(({ default: SubtitlesOctopus }) => {
@@ -1327,7 +1327,7 @@ export class HtmlVideoPlayer {
apiClient.getJSON(fallbackFontList).then((fontFiles = []) => {
fontFiles.forEach(font => {
const fontUrl = apiClient.getUrl(`/FallbackFont/Fonts/${encodeURIComponent(font.Name)}`, {
api_key: apiClient.accessToken()
ApiKey: apiClient.accessToken()
});
availableFonts.push(fontUrl);
});