1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

remove getconnectservers for promise array

This commit is contained in:
grafixeyehero 2019-10-11 20:31:09 +03:00
parent 1ec2c59e87
commit 697c652f7c

View file

@ -834,7 +834,7 @@ define(["events", "apiclient", "appStorage"], function (events, apiClientFactory
self.getAvailableServers = function () {
console.log("Begin getAvailableServers");
var credentials = credentialProvider.credentials();
return Promise.all([getConnectServers(credentials), findServers()]).then(function (responses) {
return Promise.all([findServers()]).then(function (responses) {
var connectServers = responses[0];
var foundServers = responses[1];
var servers = credentials.Servers.slice(0);