Issue 74 - Fix CSV format for Mac Excel

This commit is contained in:
Quannon Au
2014-01-10 11:25:16 -08:00
parent 1f6ea332ac
commit e0290b4fc5

View File

@@ -52,7 +52,7 @@ function route (app) {
JSON.stringify(msg.code), JSON.stringify(msg.code),
JSON.stringify(msg.message), JSON.stringify(msg.message),
JSON.stringify(msg.type) JSON.stringify(msg.type)
].join(', ')); ].join(','));
}); });
res.attachment(getDownloadFileName(task, result, 'csv')); res.attachment(getDownloadFileName(task, result, 'csv'));
res.send(rows.join('\n')); res.send(rows.join('\n'));