Permalink
Browse files

Working service

  • Loading branch information...
1 parent 8def5ee commit 5c9fc7c1d7f066f4c062ed5ab25566ff93c56302 @rjurney committed Aug 15, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 email.js
View
@@ -25,8 +25,7 @@ http.createServer(function (req, res) {
}
if(item) {
res.writeHead(200, {'Content-Type': 'application/json'});
- res.send(JSON.stringify(item));
- res.end();
+ res.end(JSON.stringify(item), null, 4);
}
});

0 comments on commit 5c9fc7c

Please sign in to comment.