Merge pull request #3425 from denis-sokolov/user-findtask-patch

chore(user): tiny cleanup in findTask function
This commit is contained in:
Tyler Renelle
2014-08-19 13:12:51 -06:00
+2 -2
View File
@@ -48,8 +48,8 @@ api.getModelPaths = function(req,res,next){
---------------
*/
findTask = function(req, res, next) {
return task = res.locals.user.tasks[req.params.id];
var findTask = function(req, res) {
return res.locals.user.tasks[req.params.id];
};
/*