You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser:
TypeError: Auth.getUser(...).success is not a function
However, I have in mainCtrl: Auth.getUser() .then(function(data) { vm.user = data.data; }); });
This file uses authService.js so I looked in there. But, everything in the authService.js file is also switched to ".then()" not ".success()" so I don't know where it lies.
http://stackoverflow.com/questions/33531336/angularjs-error-success-is-not-a-function
Had the same problem. Found it on StackOverflow.
The text was updated successfully, but these errors were encountered: