Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1945 | removed checksums from CSV download
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Oct 18, 2024
1 parent 1d4fd7c commit b5ef5b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ export const arrayToCSV = objArray => {

return array.reduce((str, next) => {
delete next.search_meta;
delete next.checksums;
str += `${Object.values(next).map(value => isObject(value) ? `"${JSON.stringify(value)}"` : `"${value}"`).join(",")}` + '\r\n';
return str;
}, str);
Expand Down

0 comments on commit b5ef5b4

Please sign in to comment.