From 365e348865aa5ebcd48cb98b12af6711097623a2 Mon Sep 17 00:00:00 2001 From: Ken Fukuyama Date: Fri, 23 Feb 2018 23:05:17 +0900 Subject: [PATCH] upgraded angularjs from 1.5.5 to 1.6.9 The $https service deprecated the `success` method, so changed `success` to `then`. This will fix #528 Signed-off-by: Ken Fukuyama --- gateway/assets/index.html | 8 ++++---- gateway/assets/script/bootstrap.js | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gateway/assets/index.html b/gateway/assets/index.html index 0675996f..32cecccb 100644 --- a/gateway/assets/index.html +++ b/gateway/assets/index.html @@ -172,10 +172,10 @@ - - - - + + + + diff --git a/gateway/assets/script/bootstrap.js b/gateway/assets/script/bootstrap.js index 13bca079..c87b3d75 100644 --- a/gateway/assets/script/bootstrap.js +++ b/gateway/assets/script/bootstrap.js @@ -91,9 +91,9 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md } $http(options) - .success(function (data, status, headers) { - - var headerMap = headers(); + .then(function (response) { + var data = response.data; + var status = response.status; if($scope.invocation.contentType == "binary") { var filename = uuidv4();