mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-06-27 16:32:30 +00:00
Merge pull request #641 from Gadzook8/patch-1
Fixed example code in Guide.md
This commit is contained in:
commit
a0c08259ca
2
GUIDE.md
2
GUIDE.md
@ -68,7 +68,7 @@ const ipfsOptions = {
|
|||||||
// Create IPFS instance
|
// Create IPFS instance
|
||||||
const ipfs = new IPFS(ipfsOptions)
|
const ipfs = new IPFS(ipfsOptions)
|
||||||
|
|
||||||
ipfs.on('ready', () => {
|
ipfs.on('ready', async () => {
|
||||||
// Create OrbitDB instance
|
// Create OrbitDB instance
|
||||||
const orbitdb = await OrbitDB.createInstance(ipfs)
|
const orbitdb = await OrbitDB.createInstance(ipfs)
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user