Update authentication headers to support v12 requirements, also add v12 skin support to skins from v11

This commit is contained in:
HighImKevin committed 2026-09-09 05:54:42 -04:00
1 parent 290b36f7bf
commit 6f2617f942
15 files changed
+135 -153

No files matched your search

+2 -2
View File
@@ -162,7 +162,7 @@
const response = await fetch(userDataUrl, {
method: 'GET',
headers: {
"Authorization": `MediaBrowser Token="${token}"`,
"Authorization": apiHelper.getAuthHeader(),
"Content-Type": "application/json"
}
});
@@ -196,7 +196,7 @@
const response = await fetch(userDataUrl, {
method: 'POST',
headers: {
"Authorization": `MediaBrowser Token="${token}"`,
"Authorization": apiHelper.getAuthHeader(),
"Content-Type": "application/json"
},
body: JSON.stringify(updatedUserData)