Rename ipfsHash to hashDigest in Contributor

naming should be consistent with the other contracts and digest is more
correct.
This commit is contained in:
2019-04-06 01:14:37 +02:00
parent 7eb1fedb42
commit 14d7fbd75e
3 changed files with 11 additions and 16 deletions

View File

@@ -20,11 +20,6 @@ class Contributor extends Base {
getById(id) {
return this.functions.getContributorById(id)
.then((data) => {
// TODO: remove when naming updated on the contract
data.hashDigest = data.ipfsHash;
return data;
})
// Fetch IPFS data if available
.then((data) => {
return this.ipfs.catAndMerge(data, ContributorSerializer.deserialize);