diff --git a/routes/logs.js b/routes/logs.js index d616373..6cbfcdb 100644 --- a/routes/logs.js +++ b/routes/logs.js @@ -15,7 +15,7 @@ module.exports = function (logsManager) { requestedFilename += "." + req.format; } - logs.getLogFile(requestedFilename, function (err, file) { + logsManager.getLogFile(requestedFilename, function (err, file) { if (err) { res.send(err); } else {