From f8b7d313da0e5ce46482cc730393e8c10bd67872 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 27 Dec 2013 15:39:49 -0700 Subject: [PATCH] typo on req.body.notes --- src/controllers/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/user.js b/src/controllers/user.js index 834e4b20c5..07d839f0fe 100644 --- a/src/controllers/user.js +++ b/src/controllers/user.js @@ -71,7 +71,7 @@ api.score = function(req, res, next) { id: id, type: req.body && req.body.type, text: req.body && req.body.text, - notes: (req.body.notes && req.body.notes) || "This task was created by a third-party service. Feel free to edit, it won't harm the connection to that service. Additionally, multiple services may piggy-back off this task." + notes: (req.body && req.body.notes) || "This task was created by a third-party service. Feel free to edit, it won't harm the connection to that service. Additionally, multiple services may piggy-back off this task." }; task = user.ops.addTask({body:task}); if (task.type === 'daily' || task.type === 'todo')