diff options
| -rw-r--r-- | routes/users.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/users.coffee b/routes/users.coffee index 5b850d09..fc6bde38 100644 --- a/routes/users.coffee +++ b/routes/users.coffee @@ -11,6 +11,7 @@ module.exports = (sessions) -> json: (req, res) -> db.hgetall("user:"+req.params.user, (err, obj) -> delete obj['password'] + res.write(200, {"Content-Type": "application/json"}); res.write(JSON.stringify(obj)) res.end() ) |
