Skip to content

Commit

Permalink
Merge pull request #150 from bcgov/Release/v1.5.0
Browse files Browse the repository at this point in the history
Release/v1.5.0
  • Loading branch information
shaunlumbcgov authored Jan 19, 2024
2 parents 1efacae + c87bd22 commit 9471425
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, csv, 'binary');
await writeFileAsync(filePath, '\ufeff' + csv, 'binary');
next();
});
} catch (error) {
Expand Down

0 comments on commit 9471425

Please sign in to comment.