diff options
Diffstat (limited to 'op_crates/fetch/26_fetch.js')
-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 4b31110d6..9916a4f82 100644 --- a/op_crates/fetch/26_fetch.js +++ b/op_crates/fetch/26_fetch.js @@ -869,7 +869,7 @@ if (this._bodySource instanceof ReadableStream) { return bufferFromStream(this._bodySource.getReader(), this.#size); } - return bodyToArrayBuffer(this._bodySource); + return Promise.resolve(bodyToArrayBuffer(this._bodySource)); } } |