Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
tsctx committed Apr 13, 2024
1 parent 02e8b73 commit e233243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/fetch/body.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ function bodyMixinMethods (instance) {
// given a byte sequence bytes: return a new ArrayBuffer
// whose contents are bytes.
return consumeBody(this, (bytes) => {
return new Uint8Array(bytes).buffer
return bytes.buffer
}, instance)
},

Expand Down

0 comments on commit e233243

Please sign in to comment.