mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
switch methods to fetch
This commit is contained in:
parent
6acc4bf69d
commit
dd09b038d5
91 changed files with 349 additions and 314 deletions
|
@ -77,7 +77,7 @@
|
|||
|
||||
var apiClient = getApiClient();
|
||||
|
||||
apiClient.getJSON(apiClient.getUrl('Startup/User')).done(function (user) {
|
||||
apiClient.fetchJSON(apiClient.getUrl('Startup/User')).then(function (user) {
|
||||
|
||||
page.querySelector('#txtUsername').value = user.Name;
|
||||
page.querySelector('#txtConnectUserName').value = user.ConnectUserName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue