summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-02-29 09:32:12 +0100
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-02-29 09:32:12 +0100
commit24773559e2d6e6c418baf97a6e9d41917d4cb244 (patch)
tree72a73b09cfceb947996869692ff782bad888dcb3 /client
parent3656654077f505dd782678451760eba45b59707b (diff)
Test
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 8148948..e0c28ae 100644
--- a/client/js/services/Compute.js
+++ b/client/js/services/Compute.js
@@ -21,7 +21,7 @@ mainApp.factory('Compute',[ '$http', 'Identity', function($http, Identity){
"token" : Identity.getToken(),
"task" : "compute",
"action":"getServer",
- "serverId":"69d5bcc4-2fab-4634-b0d2-f455fee5b7bd"
+ "serverId":"a2926ce3-501b-4285-82ce-c6e451295599"
};
var result=$http.post('../server/index.php',
@@ -29,7 +29,7 @@ mainApp.factory('Compute',[ '$http', 'Identity', function($http, Identity){
// Wait and handle the response
result.then(function (response){
- console.log(response.data.Servers);
+ console.log(response.data.MyServer.image);
callback(parseGetMachinesAnswer(response, false));
},function(response){
alert(response.status);