From aa5e302d99098fed67d8876a5491a10462d7fd6a Mon Sep 17 00:00:00 2001 From: muxator Date: Tue, 26 Mar 2019 23:42:35 +0100 Subject: [PATCH] db/API.js: missing "let" Found by the Typescript compiler when doing an experimental conversion. --- src/node/db/API.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/db/API.js b/src/node/db/API.js index f0b44d92..8d4d7439 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -260,7 +260,7 @@ exports.getHTML = async function(padID, rev) } // get the html of this revision - html = await exportHtml.getPadHTML(pad, rev); + let html = await exportHtml.getPadHTML(pad, rev); // wrap the HTML html = "" + html + "";