From e049b6c287d64dd59e9123af273bdf229f325a79 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 9 May 2013 15:59:38 +0200 Subject: testing posting --- controllers/system.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'controllers/system.js') diff --git a/controllers/system.js b/controllers/system.js index a61f7b6..c052595 100644 --- a/controllers/system.js +++ b/controllers/system.js @@ -146,8 +146,12 @@ exports.postProjectPost = function(req, res) { console.log('ppost.user = ' + req.user._id); console.log('ppost.project = ' + ppost.project); console.log('ppost.what = ' + ppost.what); + console.log('ppost.participants = ' + ppost.participants); + console.log('req.body = ' + Object.keys(req.body)); + ppost.when = new Date(req.body.date + ' ' + req.body.time + ':00'); + console.log('ppost.when = ' + ppost.when); -//*// + //*// } exports.newProject = function(req, res) { -- cgit v1.2.3