mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01: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…
x
Reference in New Issue
Block a user