Skip to content

Commit

Permalink
Fixes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
mds1 committed May 5, 2020
1 parent 039e844 commit 7e8aec1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/TheCreatePollForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ export default {
{ name: 'title', type: 'string' },
{ name: 'polltaker_account', type: 'address' },
{ name: 'description', type: 'string' },
{ name: 'valid_event_ids', type: 'bytes32' },
{ name: 'poll_options', type: 'string' },
{ name: 'valid_event_ids', type: 'uint256[]' },
{ name: 'poll_options', type: 'string[]' },
{ name: 'end_date', type: 'string' },
];
Expand All @@ -465,7 +465,7 @@ export default {
polltaker_account: this.userAddress,
description: this.description,
valid_event_ids: this.valid_events.map((event) => event.id),
poll_options: this.poll_options,
poll_options: this.poll_options.map((option) => option.contents),
end_date: this.end_date,
};
Expand Down

0 comments on commit 7e8aec1

Please sign in to comment.