diff --git a/src/node/hooks/express/padreadonly.js b/src/node/hooks/express/padreadonly.js index f699e27e..5264c17c 100644 --- a/src/node/hooks/express/padreadonly.js +++ b/src/node/hooks/express/padreadonly.js @@ -18,7 +18,7 @@ exports.expressCreateServer = function (hook_name, args, cb) { if (await hasPadAccess(req, res)) { // render the html document - html = await exporthtml.getPadHTMLDocument(padId, null); + let html = await exporthtml.getPadHTMLDocument(padId, null); res.send(html); } });