aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/controllers
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-09 15:59:38 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-09 15:59:38 +0200
commite049b6c287d64dd59e9123af273bdf229f325a79 (patch)
tree4626cb6d216cf56fb4ac3cb2a7abc8c5c070eb4b /controllers
parentMerge branch 'master' of github.com:dennisse/Divid (diff)
downloadDivid-e049b6c287d64dd59e9123af273bdf229f325a79.tar.gz
testing posting
Diffstat (limited to 'controllers')
-rw-r--r--controllers/system.js6
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) {