From f145cbfaccd9f3b251b2f80690ad7c68b26d924b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 15 Jun 2023 15:34:21 +0200 Subject: refactor(ext/fetch): simplify fetch ops (#19494) Addresses feedback from https://github.com/denoland/deno/pull/19412#discussion_r1227912676 --- ext/fetch/26_fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/fetch/26_fetch.js') 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); } /** -- cgit v1.2.3