typo on req.body.notes

This commit is contained in:
Tyler Renelle 2013-12-27 15:39:49 -07:00
parent 2332b15a55
commit f8b7d313da

View file

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