Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return getIpfs().then((ipfs) => {
return OrbitDB.connect(network, user, password, ipfs)
}).then((o) => {
orbitdb = o