Skip to content

Commit

Permalink
fix(parrot-fetch): re-add blob mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
maxb08 committed Aug 14, 2023
1 parent 2e7a1f2 commit d731482
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/parrot-fetch/src/ParrotFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ class ParrotFetch extends Parrot {
return this.contextFetch(input, init);
}
const { body, status } = response;
const responseBlob = new Blob([JSON.stringify(body)]);
const responseBlob = new Blob([JSON.stringify(body)], {
type: 'application/json',
});
const responseOptions = {
status,
headers: {
Expand Down

0 comments on commit d731482

Please sign in to comment.