From 2d02cc177d2a6a6482156ce7b74c80022894515b Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 6 Oct 2015 08:38:09 +0200 Subject: [PATCH] Corrected setHeader --- controllers/thankyou/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/thankyou/index.js b/controllers/thankyou/index.js index ea532b4..30bd7e6 100644 --- a/controllers/thankyou/index.js +++ b/controllers/thankyou/index.js @@ -6,7 +6,7 @@ module.exports.index = function(req, res) { // If not micro-worker if (req.session.workerId === undefined) { - res.setHead('Content-Type', 'text/html'); + res.setHeader('Content-Type', 'text/html'); res.render('normal.jade', res.locals, function(err, result) { res.send(result);