1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 13:41:57 +02:00

if there is anything else

This commit is contained in:
Cevo 2015-09-04 11:31:53 +02:00
parent eb4994b05e
commit f312c94eeb

View File

@ -24,13 +24,15 @@ class ContractListActions {
}
makeContractPublic(contract){
contract.public=true;
contract.public = true;
return Q.Promise((resolve, reject) => {
OwnershipFetcher.makeContractPublic(contract)
.then((res) => {
console.log('Here is the result... ');
resolve(res);
})
.catch((err)=> {
console.log('Here we have an error');
console.logGlobal(err);
reject(err);
});