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')