We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a35fb46 commit 04022f4Copy full SHA for 04022f4
README.md
@@ -423,7 +423,7 @@ var refreshAccesstoken = function() {
423
return deferred.promise;
424
};
425
426
-Restangular.addErrorInterceptor(function(response, deferred, responseHandler) {
+Restangular.setErrorInterceptor(function(response, deferred, responseHandler) {
427
if(response.status === 403) {
428
refreshAccesstoken().then(function() {
429
// Repeat the request and then call the handlers the usual way.
0 commit comments