Wrong variable name used when downloading log file

Fixes #21
This commit is contained in:
Björn Dahlgren 2015-11-21 18:54:51 +01:00
parent 9aa3853bcf
commit 4d954cef62

View File

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