From 77c0d6b20f3998a66c5376094505cca9d3fec816 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Mon, 15 Aug 2016 16:26:08 -0400 Subject: [PATCH] better naming --- controllers/runs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }); });