From de5593e5c4da5b183684fc1aa645264b0d4aa7be Mon Sep 17 00:00:00 2001 From: jrtechs Date: Fri, 18 Jan 2019 21:24:04 -0500 Subject: [PATCH] Fixed error in contact .js where the template context was not passed to function --- blog/contact.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blog/contact.js b/blog/contact.js index 0caa03d..4527720 100644 --- a/blog/contact.js +++ b/blog/contact.js @@ -204,10 +204,9 @@ module.exports = { result.writeHead(200, {'Content-Type': 'text/html'}); - console.log("eh"); var templateContext = Object(); Promise.all([includes.fetchTemplate(TEMPLATE_FILE), - processContactPage(request), + processContactPage(request, templateContext), includes.printHeader(templateContext), includes.printFooter(templateContext), require("./sidebar.js").main(templateContext)])