diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-04-23 22:19:06 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-23 22:19:06 +0530 |
commit | 2eb8c3b82fd54027c35c87ccc94797e34e2e95fd (patch) | |
tree | e63eb40e9fb5c6c818c08b36a5b79feed9fb0b9e /ext/fetch/22_http_client.js | |
parent | d2c80aa26f30cfc3d614ff313a8dfe4c2c534cd1 (diff) |
chore(ext/fetch): custom arity (#14198)
Diffstat (limited to 'ext/fetch/22_http_client.js')
-rw-r--r-- | ext/fetch/22_http_client.js | 7 |
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 { |