Permalink
Browse files

Some debugging.

  • Loading branch information...
1 parent 24cf529 commit 57b1668612bcfd3090584de85b2aad05d95ed646 Jonas Galvez committed Aug 30, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 nodevote.js
View
@@ -45,6 +45,7 @@ http_server.get('/voting-room/:id', function(req, res) {
});
http_server.post('/voting-room', function(req, res) {
+ console.log('decodeURIComponent(req.body.voting_room_data): ' + decodeURIComponent(req.body.voting_room_data));
var voting_room_data = JSON.parse(decodeURIComponent(req.body.voting_room_data));
var voting_room_id = create_random_id(10);
while(poorsman_mongodb.voting_rooms[voting_room_id])

0 comments on commit 57b1668

Please sign in to comment.