diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-09 15:59:38 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-09 15:59:38 +0200 |
commit | e049b6c287d64dd59e9123af273bdf229f325a79 (patch) | |
tree | 4626cb6d216cf56fb4ac3cb2a7abc8c5c070eb4b /controllers/system.js | |
parent | Merge branch 'master' of github.com:dennisse/Divid (diff) | |
download | Divid-e049b6c287d64dd59e9123af273bdf229f325a79.tar.gz |
testing posting
Diffstat (limited to 'controllers/system.js')
-rw-r--r-- | controllers/system.js | 6 |
1 files changed, 5 insertions, 1 deletions
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) { |