Skip to content

Commit

Permalink
Merge 861e458 into 4301169
Browse files Browse the repository at this point in the history
  • Loading branch information
techmsi committed Jan 5, 2017
2 parents 4301169 + 861e458 commit e6cb733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/angular-spotify.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@
headers: headers,
withCredentials: false
})
.success(function (data) {
.then(function (data) {
deferred.resolve(data);
})
.error(function (data) {
.catch(function (data) {
deferred.reject(data);
});
return deferred.promise;
Expand Down

0 comments on commit e6cb733

Please sign in to comment.