Skip to content

Commit 0874d45

Browse files
committed
Fix spread operator usage in Request class URL options
1 parent 9bda268 commit 0874d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node/NodeHttpStack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Request implements HttpRequest {
8989

9090
return new Promise((resolve, reject) => {
9191
const options = {
92-
...(new URL(this._url)),
92+
...new URL(this._url),
9393
...this._requestOptions,
9494

9595
method: this._method,

0 commit comments

Comments
 (0)