summaryrefslogtreecommitdiff
path: root/ext/fetch/26_fetch.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-06-15 15:34:21 +0200
committerGitHub <noreply@github.com>2023-06-15 15:34:21 +0200
commitf145cbfaccd9f3b251b2f80690ad7c68b26d924b (patch)
treef546388ed6b1d3ce28400a5e32d85a75efcfd3a5 /ext/fetch/26_fetch.js
parent3d71c36888018d5154b42997bb64adc2892c034d (diff)
refactor(ext/fetch): simplify fetch ops (#19494)
Addresses feedback from https://github.com/denoland/deno/pull/19412#discussion_r1227912676
Diffstat (limited to 'ext/fetch/26_fetch.js')
-rw-r--r--ext/fetch/26_fetch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js
index 0dc06db02..5084fab34 100644
--- a/ext/fetch/26_fetch.js
+++ b/ext/fetch/26_fetch.js
@@ -86,7 +86,7 @@ function opFetch(method, url, headers, clientRid, hasBody, bodyLength, body) {
* @returns {Promise<{ status: number, statusText: string, headers: [string, string][], url: string, responseRid: number }>}
*/
function opFetchSend(rid) {
- return core.opAsync("op_fetch_send", rid, true);
+ return core.opAsync("op_fetch_send", rid);
}
/**