From d6468ad5fbfca52431a0b3db936ec0bf002d41a1 Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Wed, 23 Nov 2011 15:45:28 -0500 Subject: [PATCH] Fixed bug that was preventing document lookup --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 3f7be2a..f74f8e8 100644 --- a/server.js +++ b/server.js @@ -68,7 +68,7 @@ connect.createServer( }); // get documents app.get('/documents/:id', function(request, response, next) { - return documentHandler.handleGet(req.params.id, response); + return documentHandler.handleGet(request.params.id, response); }); }), // Otherwise, static