update promises

This commit is contained in:
Luke Pulverenti 2015-12-26 12:17:12 -05:00
parent cdfcdd2363
commit ea03bae114

View File

@ -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);
}