mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update fetch
This commit is contained in:
parent
dd09b038d5
commit
ee899a7332
21 changed files with 209 additions and 260 deletions
|
@ -220,7 +220,7 @@
|
|||
|
||||
ApiClient.getUser(userId).done(function (user) {
|
||||
|
||||
ApiClient.getDisplayPreferences('home', user.Id, AppSettings.displayPreferencesKey()).done(function (displayPreferences) {
|
||||
ApiClient.getDisplayPreferences('home', user.Id, AppSettings.displayPreferencesKey()).then(function (displayPreferences) {
|
||||
|
||||
saveUser(page, user, displayPreferences);
|
||||
|
||||
|
@ -285,7 +285,7 @@
|
|||
|
||||
ApiClient.getUser(userId).done(function (user) {
|
||||
|
||||
ApiClient.getDisplayPreferences('home', user.Id, AppSettings.displayPreferencesKey()).done(function (result) {
|
||||
ApiClient.getDisplayPreferences('home', user.Id, AppSettings.displayPreferencesKey()).then(function (result) {
|
||||
|
||||
loadForm(page, user, result);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue