summaryrefslogtreecommitdiff
path: root/op_crates/fetch
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-10-19 17:01:36 +0200
committerGitHub <noreply@github.com>2020-10-19 17:01:36 +0200
commit08441b855d8cfbe7edd41811c8c719e5fae01f83 (patch)
tree0d8aa9e0984d284c2f6fbc83526eea13f7f61622 /op_crates/fetch
parent35028db5e571b4232dd58293cea7e5a8ec2e3571 (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.js2
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();
},
});