Submit contributions via form #119

Merged
raucao merged 13 commits from feature/118-contribution_form into master 2019-05-29 07:49:16 +00:00
Showing only changes of commit cec87f6caf - Show all commits
+1 -1
View File
@@ -206,7 +206,7 @@ export default Service.extend({
addContribution(attributes) {
console.debug('[kredits] add contribution', attributes);
return this.kredits.Contribution.addContribution(attributes)
return this.kredits.Contribution.addContribution(attributes, { gasLimit: 300000 })
.then(data => {
console.debug('[kredits] add contribution response', data);
attributes.contributor = this.contributors.findBy('id', attributes.contributorId);