From ddbb0db33dcd019bcd4008331e6a7a71d3c185d4 Mon Sep 17 00:00:00 2001 From: Rowan Manning Date: Mon, 13 Jan 2014 09:33:51 +0000 Subject: [PATCH] Remove spaces in the CSV header row --- route/result/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route/result/download.js b/route/result/download.js index 0ada2c8..c706dcf 100644 --- a/route/result/download.js +++ b/route/result/download.js @@ -46,7 +46,7 @@ function route (app) { app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) { var task = res.locals.task; var result = res.locals.result; - var rows = ['"code", "message", "type"']; + var rows = ['"code","message","type"']; result.results.forEach(function (msg) { rows.push([ JSON.stringify(msg.code),