Skip to content

Conversation

@techmsi
Copy link

@techmsi techmsi commented Jan 5, 2017

Problem

TypeError: $http(...).success is not a function
    at NgSpotify.api (angular-spotify.js:95)

Angular

Version 1.6 & Up
Deprecation Notice

The $http legacy promise methods success and error have been deprecated and will be removed in v1.6.0. Use the standard then method instead.

Solution

Revise deprecated success & error to then & catch

@coveralls
Copy link

coveralls commented Jan 5, 2017

Coverage Status

Coverage remained the same at 93.407% when pulling 861e458 on techmsi:patch-1 into 4301169 on eddiemoore:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants