Skip to content

Commit

Permalink
added fix for extract
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunlumbcgov committed Jan 19, 2024
1 parent 9471425 commit f40235d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/download-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function createCSVFile(req,res, next){

jsonExport(req.jsonData, async function(err, csv){
if (err) return console.error(err);
await writeFileAsync(filePath, '\ufeff' + csv, 'binary');
await writeFileAsync(filePath, '\ufeff' + csv);
next();
});
} catch (error) {
Expand Down

0 comments on commit f40235d

Please sign in to comment.