Browse Source

Merge pull request #211 from hiveww/AMBARI-22862-trunk

AMBARI-22862. Ambari admin breaks cause of responseInterceptors property
Alexander Antonenko 7 years ago
parent
commit
97b3be0f47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-admin/src/main/resources/ui/admin-web/app/scripts/app.js

+ 1 - 1
ambari-admin/src/main/resources/ui/admin-web/app/scripts/app.js

@@ -63,7 +63,7 @@ angular.module('ambariAdminConsole', [
     };
   }]);
 
-  $httpProvider.responseInterceptors.push(['$rootScope', '$q', function (scope, $q) {
+  $httpProvider.interceptors.push(['$rootScope', '$q', function (scope, $q) {
     function success(response) {
       return response;
     }