mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-26 13:00:18 +00:00
#205 Fixed
This commit is contained in:
parent
115105157b
commit
5447366d00
2 changed files with 2 additions and 3 deletions
|
@ -33,7 +33,8 @@ const wtutils = new class WTUtils {
|
|||
"X-Plex-Client-Identifier": this.X_Plex_Client_Identifier,
|
||||
"X-Plex-Product": this.AppName,
|
||||
"X-Plex-Version": this.AppVersion,
|
||||
"X-Plex-Device": this.Platform
|
||||
"X-Plex-Device": this.Platform,
|
||||
"Accept-Language": wtconfig.get('General.language')
|
||||
}
|
||||
return headers
|
||||
}
|
||||
|
|
|
@ -53,8 +53,6 @@ const actions = {
|
|||
async fetchPMSSettings({ commit }, payload) {
|
||||
let header = wtutils.PMSHeader;
|
||||
header['X-Plex-Token'] = payload.Token;
|
||||
header['Accept-Language'] = wtconfig.get('General.language');
|
||||
|
||||
const url = payload.Address + '/:/prefs';
|
||||
await axios({
|
||||
method: 'get',
|
||||
|
|
Loading…
Reference in a new issue