Skip to content

Commit

Permalink
ALS-6416.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ramari16 committed Aug 16, 2024
1 parent 185d57d commit 62c5ca3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ define([
type: 'POST',
headers: {"Authorization": "Bearer " + JSON.parse(sessionStorage.getItem("session")).token},
contentType: 'application/json',
dataType: 'text',
xhrFields: {
responseType: "blob" // to avoid binary data being mangled on charset conversion
},
data: "{}",
success: function(response){
responseDataUrl = URL.createObjectURL(new Blob([response], {type: "octet/stream"}));
Expand Down

0 comments on commit 62c5ca3

Please sign in to comment.