Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 7aba835

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 363cb35 commit 7aba835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ipfs-http-client/src/name/resolve.js

+2-2
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)