register ipfs cmd correctly

This commit is contained in:
Iuri Matias 2018-05-30 17:22:12 -04:00
parent 4aa33935b0
commit b3173c1ff3
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class IPFS {
addIpfsObjectToConsole() {
let ipfs = IpfsApi(this.storageConfig.host, this.storageConfig.port);
RunCode.doEval("", {ipfs: ipfs});
this.events.emit("runcode:register", "ipfs", ipfs);
}
}