This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 16bc3c8  declare js var
16bc3c8 is described below

commit 16bc3c82b9133a4e8fc9e23a3795f715fdc9a999
Author: Daniel Gruno <[email protected]>
AuthorDate: Wed Nov 17 19:00:16 2021 +0100

    declare js var
---
 webui/js/source/base-http-extensions.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/webui/js/source/base-http-extensions.js 
b/webui/js/source/base-http-extensions.js
index 6cc8029..60a2074 100644
--- a/webui/js/source/base-http-extensions.js
+++ b/webui/js/source/base-http-extensions.js
@@ -109,6 +109,7 @@ async function GET(url, callback, state) {
         // We expect a 2xx return code (usually 200 or 201), snap otherwise
         if ((res_json) || (res.status >= 200 && res.status < 300)) {
             console.log("Successfully fetched %s".format(url))
+            let js;
             if (res_json) {
                 js = res_json;
             } else {

Reply via email to