浏览代码

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

AMBARI-22862. Ambari admin breaks cause of responseInterceptors property
Alexander Antonenko 7 年之前
父节点
当前提交
97b3be0f47
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
     }