Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Fix file download format
Browse files Browse the repository at this point in the history
  • Loading branch information
sdford committed Apr 20, 2018
1 parent 889b8ad commit ed6a3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/app/actions/manageSafetyDepositBoxActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export function downloadFile(token, fullPath, filename) {
})
.then((response) => {
let reader = new window.FileReader();
reader.readAsText(response.data);
reader.readAsArrayBuffer(response.data);
reader.onload = function() {
downloadjs(reader.result, filename)
}
Expand Down

0 comments on commit ed6a3ac

Please sign in to comment.