mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix vote export to CSV/TSV & export currency custom field.
This commit is contained in:
parent
18eafe2fec
commit
8c149da9e9
3 changed files with 40 additions and 24 deletions
|
|
@ -85,10 +85,10 @@ if (Meteor.isServer) {
|
|||
? exporter.buildCsv(params.query.delimiter)
|
||||
: exporter.buildCsv();
|
||||
res.writeHead(200, {
|
||||
'Content-Length': body[0].length,
|
||||
'Content-Length': body.length,
|
||||
'Content-Type': params.query.delimiter ? 'text/csv' : 'text/tsv',
|
||||
});
|
||||
res.write(body[0]);
|
||||
res.write(body);
|
||||
res.end();
|
||||
} else {
|
||||
res.writeHead(403);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue