diff --git a/controllers/runs.js b/controllers/runs.js index 9ba34f6..6b24b35 100644 --- a/controllers/runs.js +++ b/controllers/runs.js @@ -31,8 +31,8 @@ controller.put('/:id', function(req, res){ id: req.params.id } } - ).then(function(data){ - res.json(data); + ).then(function(didSucceed){ + res.json(didSucceed); }); });