mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-22 20:51:21 +00:00
Fixed bug that was preventing document lookup
This commit is contained in:
parent
607d3eb3ac
commit
d6468ad5fb
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ connect.createServer(
|
||||||
});
|
});
|
||||||
// get documents
|
// get documents
|
||||||
app.get('/documents/:id', function(request, response, next) {
|
app.get('/documents/:id', function(request, response, next) {
|
||||||
return documentHandler.handleGet(req.params.id, response);
|
return documentHandler.handleGet(request.params.id, response);
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
// Otherwise, static
|
// Otherwise, static
|
||||||
|
|
Loading…
Reference in a new issue