src/decentralizer.js
// method to retrieve data from ipfs
method to retrieve data from ipfs
method to retrieve data from ipfs
async retrieveData(hash) {
    if (!hash) {
      return false;
    }
    return this._ipfs.cat(hash);
  }
async retrieveData ( hash ) { if ( ! hash ) { return false ; } return this . _ipfs . cat ( hash ) ; }
method to retrieve data from ipfs
method to retrieve data from ipfs
// make sure we're given a hash // fetch the data from ipfs