Skip to content

Commit 4960fc3

Browse files
authored
fix(http-client): allow stream option to be overridden (#3205)
`stream: true` was being set after the options were decapsulated. This makes it impossible to override streaming in the http api.
1 parent 1c9b985 commit 4960fc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/name/resolve.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module.exports = configure(api => {
1010
signal: options.signal,
1111
searchParams: toUrlSearchParams({
1212
arg: path,
13-
...options,
14-
stream: true
13+
stream: true,
14+
...options
1515
}),
1616
headers: options.headers
1717
})

0 commit comments

Comments
 (0)