BUG ipfs.id() is not a string
This commit is contained in:
parent
00287eb1ae
commit
f7a95d8587
@ -106,7 +106,7 @@ class OrbitDB {
|
||||
}
|
||||
|
||||
if (!options.keystore) {
|
||||
const keystorePath = path.join(options.directory, id, '/keystore')
|
||||
const keystorePath = path.join(options.directory, typeof id !== 'object' ? id : id.toString(), '/keystore')
|
||||
const keyStorage = await options.storage.createStore(keystorePath)
|
||||
options.keystore = new Keystore(keyStorage)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user