Skip to content

Commit

Permalink
fix: Replace setting blob 'mimeType' property with 'type' (#2502)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgorringe authored Mar 20, 2023
1 parent 544e4a3 commit 869bdcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 138,7 @@ export default class File extends EventEmitter {
}

async blob (opts) {
return new Blob([await this.arrayBuffer(opts)], { mimeType: this.type })
return new Blob([await this.arrayBuffer(opts)], { type: this.type })
}

stream (opts) {
Expand Down

0 comments on commit 869bdcd

Please sign in to comment.