mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Remove logging messages
This commit is contained in:
parent
bb2d026c71
commit
acf131830e
@ -29,10 +29,8 @@ const IpfsApis = [
|
|||||||
const init = () => {
|
const init = () => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
ipfs.init({}, (err) => {
|
ipfs.init({}, (err) => {
|
||||||
console.log("1")
|
|
||||||
if (err) {
|
if (err) {
|
||||||
if (err.message === 'repo already exists') {
|
if (err.message === 'repo already exists') {
|
||||||
console.log("2", err)
|
|
||||||
return resolve();
|
return resolve();
|
||||||
}
|
}
|
||||||
return reject(err);
|
return reject(err);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user