Refactor getContributorById to be move generic #37

Merged
fsmanuel merged 2 commits from refactor/get-contributor-by-id into master 2018-04-07 23:32:46 +00:00
fsmanuel commented 2018-04-07 22:55:29 +00:00 (Migrated from github.com)

We can use this generic functions also for the upcomig proposal refactoring.

We can use this generic functions also for the upcomig proposal refactoring.
bumi (Migrated from github.com) approved these changes 2018-04-07 23:07:23 +00:00
@@ -149,11 +144,12 @@ export default Service.extend({
getContributors() {
bumi (Migrated from github.com) commented 2018-04-07 23:05:38 +00:00

was wondering about the naming here... as it is more like building the ipfs hash - but then it is also replacing the "ipfsHash" attribute.

was wondering about the naming here... as it is more like building the ipfs hash - but then it is also replacing the "ipfsHash" attribute.
bumi (Migrated from github.com) commented 2018-04-07 23:06:31 +00:00

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

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
fsmanuel (Migrated from github.com) reviewed 2018-04-07 23:19:08 +00:00
@@ -149,11 +144,12 @@ export default Service.extend({
getContributors() {
fsmanuel (Migrated from github.com) commented 2018-04-07 23:19:08 +00:00

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.

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.
Sign in to join this conversation.