summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rwxr-xr-xwww/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/app.js b/www/js/app.js
index cf95a600..c8e59138 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -694,11 +694,11 @@ angular.module('zmApp', [
rejection.config.url = rejection.config.url.replace(/&token=([^&]*)/, $rootScope.authSession);
return $injector.get('$http')(rejection.config);
}, function (err) {
- return response;
+ return err;
});
}
else {
- return response;
+ return rejection;
}
},