summaryrefslogtreecommitdiff
path: root/ext/fetch/22_http_client.js
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-04-23 22:19:06 +0530
committerGitHub <noreply@github.com>2022-04-23 22:19:06 +0530
commit2eb8c3b82fd54027c35c87ccc94797e34e2e95fd (patch)
treee63eb40e9fb5c6c818c08b36a5b79feed9fb0b9e /ext/fetch/22_http_client.js
parentd2c80aa26f30cfc3d614ff313a8dfe4c2c534cd1 (diff)
chore(ext/fetch): custom arity (#14198)
Diffstat (limited to 'ext/fetch/22_http_client.js')
-rw-r--r--ext/fetch/22_http_client.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/fetch/22_http_client.js b/ext/fetch/22_http_client.js
index 15690b7d4..f0c2394c3 100644
--- a/ext/fetch/22_http_client.js
+++ b/ext/fetch/22_http_client.js
@@ -20,7 +20,12 @@
*/
function createHttpClient(options) {
options.caCerts ??= [];
- return new HttpClient(core.opSync("op_fetch_custom_client", options));
+ return new HttpClient(
+ core.opSync(
+ "op_fetch_custom_client",
+ options,
+ ),
+ );
}
class HttpClient {