summaryrefslogtreecommitdiff
path: root/ext/http/01_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/http/01_http.js')
-rw-r--r--ext/http/01_http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index 8151d5a74..cb98d246d 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -115,7 +115,7 @@
return null;
}
- const [streamRid, method, url] = nextRequest;
+ const { 0: streamRid, 1: method, 2: url } = nextRequest;
SetPrototypeAdd(this.managedResources, streamRid);
/** @type {ReadableStream<Uint8Array> | undefined} */