Pārlūkot izejas kodu

AMBARI-22862. Ambari admin breaks cause of responseInterceptors property

hiveww 8 gadi atpakaļ
vecāks
revīzija
d19d5cb518

+ 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;
     }