1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-23 17:50:19 +01:00

Fixed bug that was preventing document lookup

This commit is contained in:
John Crepezzi 2011-11-23 15:45:28 -05:00
parent 607d3eb3ac
commit d6468ad5fb

View file

@ -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