summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/js/services/Compute.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/js/services/Compute.js b/client/js/services/Compute.js
index 28f8a69..f4e8fa8 100644
--- a/client/js/services/Compute.js
+++ b/client/js/services/Compute.js
@@ -14,7 +14,7 @@ mainApp.factory('Compute',[ '$http', 'Identity', function($http, Identity){
var requestParserResult={};
requestParserResult.status=1;
requestParserResult.failReason=null;
- console.log(response.data.Images[Object.keys(response.data.Images)[0]])
+ console.log(response.data.Servers[Object.keys(response.data.Servers)[0]])
if (typeof response.data.Servers !== 'undefined') {
// Set status code
requestParserResult.status=0;
@@ -40,7 +40,7 @@ mainApp.factory('Compute',[ '$http', 'Identity', function($http, Identity){
var params={
"token" : Identity.getToken(),
"task" : "compute",
- "action":"listImages"
+ "action":"listServers"
};
var result=$http.post('../server/index.php',