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

Commit

Permalink
fix(http-client): allow stream option to be overridden (#3205)
Browse files Browse the repository at this point in the history
`stream: true` was being set after the options were decapsulated. This makes it impossible to override streaming in the http api.
  • Loading branch information
jacobheun authored Aug 4, 2020
1 parent 363cb35 commit 7aba835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ipfs-http-client/src/name/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module.exports = configure(api => {
signal: options.signal,
searchParams: toUrlSearchParams({
arg: path,
...options,
stream: true
stream: true,
...options
}),
headers: options.headers
})
Expand Down

0 comments on commit 7aba835

Please sign in to comment.