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

Commit b32140b

Browse files
author
Alan Shaw
committed
fix: use correct option name for custom client constructor
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 102aa5c commit b32140b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/interface-common-factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function createFactory (options) {
1313
options.spawnOptions = options.spawnOptions || { initOptions: { bits: 512 }, config: { Bootstrap: [] } }
1414

1515
if (options.factoryOptions.type !== 'proc') {
16-
options.factoryOptions.IpfsApi = options.factoryOptions.IpfsApi || ipfsClient
16+
options.factoryOptions.IpfsClient = options.factoryOptions.IpfsClient || ipfsClient
1717
}
1818

1919
const ipfsFactory = IPFSFactory.create(options.factoryOptions)

0 commit comments

Comments
 (0)