express/padreadonly.js: missing "let"

Found by the Typescript compiler when doing an experimental conversion.
This commit is contained in:
muxator 2019-03-27 00:09:13 +01:00 committed by muxator
parent b8df6ca60c
commit 53b3328b5f

View file

@ -18,7 +18,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
if (await hasPadAccess(req, res)) { if (await hasPadAccess(req, res)) {
// render the html document // render the html document
html = await exporthtml.getPadHTMLDocument(padId, null); let html = await exporthtml.getPadHTMLDocument(padId, null);
res.send(html); res.send(html);
} }
}); });