remove notes no longer needed

This commit is contained in:
kukulaka
2020-09-03 15:55:20 +01:00
parent 73ee56985b
commit a1c432f2f4

View File

@@ -27,10 +27,7 @@ const responseManager: RequestHandler = asyncHandler(async (req, res, next) => {
// have chosen to export csv
const { Parser } = require('json2csv');
// need to get the actual fields in data
const exportData = res.locals.data.data;
/** @todo deep object parsing to get all fields
*/
const json2csvParser = new Parser();
const csv = await json2csvParser.parse(exportData);