diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-10-19 17:01:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 17:01:36 +0200 |
commit | 08441b855d8cfbe7edd41811c8c719e5fae01f83 (patch) | |
tree | 0d8aa9e0984d284c2f6fbc83526eea13f7f61622 /op_crates/fetch | |
parent | 35028db5e571b4232dd58293cea7e5a8ec2e3571 (diff) |
fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030)
Diffstat (limited to 'op_crates/fetch')
-rw-r--r-- | op_crates/fetch/26_fetch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op_crates/fetch/26_fetch.js b/op_crates/fetch/26_fetch.js index 88744981b..887e329f9 100644 --- a/op_crates/fetch/26_fetch.js +++ b/op_crates/fetch/26_fetch.js @@ -786,7 +786,7 @@ this._stream = new ReadableStream({ start(controller) { - controller.enqueue(buf); + controller.enqueue(new Uint8Array(buf)); controller.close(); }, }); |