mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-27 00:00:28 +00:00
update promises
This commit is contained in:
parent
cdfcdd2363
commit
ea03bae114
@ -1231,7 +1231,8 @@ module.factory('embyActions', function ($timeout, $interval, $http, $q) {
|
||||
{
|
||||
headers: getSecurityHeaders(item.accessToken, item.userId),
|
||||
params: query
|
||||
}).success(resolve);
|
||||
|
||||
}).success(resolve).error(reject);
|
||||
});
|
||||
};
|
||||
|
||||
@ -2010,7 +2011,7 @@ module.controller('MainCtrl', function ($scope, $interval, $timeout, $q, $http,
|
||||
}
|
||||
}
|
||||
|
||||
}).error(broadcastConnectionErrorMessage);
|
||||
}, broadcastConnectionErrorMessage);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user