From c94b4fc512ee56e06c0593f6692df1a708b57820 Mon Sep 17 00:00:00 2001 From: Dobie Wollert Date: Wed, 16 Dec 2015 12:13:44 -0800 Subject: [PATCH] Fix this bug for the last fucking time --- app/controllers/timeclock.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/timeclock.js b/app/controllers/timeclock.js index 9e4bd5b..6c9e46c 100644 --- a/app/controllers/timeclock.js +++ b/app/controllers/timeclock.js @@ -560,7 +560,9 @@ module.exports = function () { .props({ id: req.user.id, date: moment(), - notes: req.body.notes + notes: req.body.notes, + reason: req.body.reason, + type: req.body.type }) .then((params) => { var spans = findUserSpans(req.user.id, params.date);