Remove stray console.dir()

This commit is contained in:
Johannes Zellner
2014-10-03 00:21:58 -07:00
parent fb7519a7e2
commit 24552b0eef
-1
View File
@@ -202,7 +202,6 @@ function getLogStream(req, res, next) {
function sse(id, data) { return 'id: ' + id + '\ndata: ' + data + '\n\n'; };
console.dir(req.headers);
if (req.headers.accept !== 'text/event-stream') return next(new HttpError(400, 'This API call requires EventStream'));
var fromLine = (parseInt(req.headers['last-event-id'], 10) + 1) || 1;