Remove spaces in the CSV header row

This commit is contained in:
Rowan Manning
2014-01-13 09:33:51 +00:00
parent e0290b4fc5
commit ddbb0db33d

View File

@@ -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),