From 673e3aa8d46bdbe6bdee012a60c7d761d608d026 Mon Sep 17 00:00:00 2001 From: Aaron Valandra Date: Wed, 15 Feb 2017 10:23:20 -0600 Subject: [PATCH] Included next in readFile function to include setting local variables from client link --- routes/middleware.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/middleware.js b/routes/middleware.js index e4f41bb2..d15e2225 100644 --- a/routes/middleware.js +++ b/routes/middleware.js @@ -36,9 +36,9 @@ exports.getLatestClientRelease = function(req, res, next) { locals.client_download_link = clientLink.client_link; locals.downlords_faf_client_download_link = clientLink.downlords_faf_client_link; - }); - next(); + next(); + }); }; exports.clientChecks = function(req, res, next) {