Merge pull request #2693 from colegleason/csv
Set filename when exporting challenge to CSV
This commit is contained in:
@@ -98,6 +98,7 @@ api.csv = function(req, res) {
|
||||
})
|
||||
output.push(uData);
|
||||
});
|
||||
res.header('Content-disposition', 'attachment; filename='+cid+'.csv');
|
||||
res.csv(output);
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user