summaryrefslogtreecommitdiffstats
path: root/app/common/services/api-utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/common/services/api-utils.js')
-rw-r--r--app/common/services/api-utils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/common/services/api-utils.js b/app/common/services/api-utils.js
index dc6de50..1b26b93 100644
--- a/app/common/services/api-utils.js
+++ b/app/common/services/api-utils.js
@@ -783,13 +783,13 @@ window.angular && (function (angular) {
var deferred = $q.defer();
$http({
method: 'POST',
- url: DataService.getHost() + "/org/openbmc/control/flash/bmc/action/updateViaTftp",
+ url: DataService.getHost() + "/xyz/openbmc_project/software/action/DownloadViaTFTP",
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
withCredentials: true,
- data: JSON.stringify({"data": [host, filename]}),
+ data: JSON.stringify({"data": [filename, host]}),
responseType: 'arraybuffer'
}).then(function(response, status, headers){
deferred.resolve({
OpenPOWER on IntegriCloud