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:
parent
eb4994b05e
commit
f312c94eeb
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user