diff --git a/zefie_wtvp_minisrv/WTVFlashrom.js b/zefie_wtvp_minisrv/WTVFlashrom.js index 0740ea01..b2a4311a 100644 --- a/zefie_wtvp_minisrv/WTVFlashrom.js +++ b/zefie_wtvp_minisrv/WTVFlashrom.js @@ -33,7 +33,7 @@ class WTVFlashrom { data = err.toString(); callback(data, headers); } else { - if (info_only) { + if (info_only) {w callback(self.getFlashromInfo(data, request_path)); } else { self.sendToClient(data, request_path, callback); @@ -41,7 +41,7 @@ class WTVFlashrom { } }); } catch (e) { - var errpage = wtvshared.doErrorPage(404, "The service could not find the requested ROM.") + var errpage = this.wtvshared.doErrorPage(404, "The service could not find the requested ROM.") var headers = errpage[0]; var data = errpage[1]; callback(data, headers);