Correct bug

This commit is contained in:
Loic GUEGAN 2016-05-04 22:46:40 +02:00
parent cddd9682e6
commit a9e8c8e664
4 changed files with 35 additions and 30 deletions

View file

@ -112,8 +112,9 @@ mainApp.factory('Compute', ['$http', 'Identity', function ($http, Identity) {
// Wait and handle the response
result.then(function (response) {
callback();
console.log(response.data.Error)
console.log(response.data)
callback();
}, function (response) {
console.log("error")
callback();