Skip to content

Commit

Permalink
fix: quick import with external node
Browse files Browse the repository at this point in the history
Missed this during recent refactor :'(
  • Loading branch information
lidel committed Jan 7, 2021
1 parent d8f5ee3 commit c652708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-on/src/popup/quick-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async function processFiles (state, emitter, files) {
// (https://bugs.chromium.org/p/chromium/issues/detail?id=112163) when
// crossing process boundary, which enables streaming upload of big files
// (4GB+) without buffering entire thing.
ipfs = await externalApiClient.init(ipfsCompanion.state)
ipfs = await externalApiClient.init(browser, ipfsCompanion.state)
// Note: at the time of writing this it was possible to use SharedWorker,
// but it felt brittle given Google's approach to browser extension APIs,
// and this way seems to be more future-proof.
Expand Down

0 comments on commit c652708

Please sign in to comment.