Rename contributorId to recipientId #199

Merged
raucao merged 7 commits from chore/rename_recipient_for_reimbursements into master 2022-06-12 05:17:48 +00:00
Showing only changes of commit 6cd62d3764 - Show all commits
@@ -118,7 +118,7 @@ export default class AddReimbursementComponent extends Component {
if (!this.kredits.currentUser) { window.alert('You need to connect your Ethereum account first.'); return false }
if (!this.kredits.currentUserIsCore) { window.alert('Only core contributors can submit reimbursements.'); return false }
const contributor = this.contributors.findBy('id', this.recipientId);
const contributor = this.contributors.findBy('id', parseInt(this.recipientId));
const attributes = {
amount: parseInt(parseFloat(this.total) * 100000000), // convert to sats