mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Update authentication headers to support v12 requirements, also add v12 skin support to skins from v11
This commit is contained in:
1 parent
290b36f7bf
commit
6f2617f942
15 files changed
+135
-153
No files matched your search
@@ -93,7 +93,7 @@
|
||||
`${serverAddress}/DisplayPreferences/usersettings?userId=${userId}&client=emby`,
|
||||
{
|
||||
headers: {
|
||||
'X-Emby-Token': accessToken
|
||||
'Authorization': apiHelper.getAuthHeader()
|
||||
}
|
||||
}
|
||||
);
|
||||
@@ -345,7 +345,7 @@
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"X-Emby-Token": ApiClient._serverInfo.AccessToken || ApiClient.accessToken(),
|
||||
"Authorization": apiHelper.getAuthHeader(),
|
||||
},
|
||||
});
|
||||
const customTabs = await response.json();
|
||||
|
||||
Reference in new issue
Block a user