Refactor getContributorById to be move generic #37
Reference in New Issue
Block a user
Delete Branch "refactor/get-contributor-by-id"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We can use this generic functions also for the upcomig proposal refactoring.
@@ -149,11 +144,12 @@ export default Service.extend({getContributors() {was wondering about the naming here... as it is more like building the ipfs hash - but then it is also replacing the "ipfsHash" attribute.
as ipfsHash gets replaced here, should the hashFunction and hashSize be removed from the data, those only work with the hex value that we replace
@@ -149,11 +144,12 @@ export default Service.extend({getContributors() {Good point. I was just ignoring them here:
https://github.com/67P/kredits-web/pull/37/files#diff-13940afb5bb6bef4e0cd9dfe4dcecb7cR123
Not sure what's the beste. But as you pointed out they are useless after that step. I'll remove them.