diff --git a/app/scripts/controllers/updateNodeCtrl.js b/app/scripts/controllers/updateNodeCtrl.js index 44b825d..547e585 100644 --- a/app/scripts/controllers/updateNodeCtrl.js +++ b/app/scripts/controllers/updateNodeCtrl.js @@ -14,8 +14,8 @@ angular.module('ffffng') $scope.onSubmitToken = function (token) { $scope.token = token; return NodeService.getNode(token) - .success(function (node) { - $scope.node = node; + .then(function (response) { + $scope.node = response.data; }); };