Skip to content

Commit

Permalink
Fixes #159
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvelmer committed Jun 13, 2023
1 parent 9becac9 commit ebb2532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Of course, you will also need some questions in this voting process, how would p
vote otherwise?

~~~ts
election.addQuestion('Ain\'t this process awesome?', [
election.addQuestion('Ain\'t this process awesome?', 'Question description', [
{
title: 'Yes',
value: 0,
Expand All @@ -255,7 +255,7 @@ election.addQuestion('Ain\'t this process awesome?', [
title: 'No',
value: 1,
},
]).addQuestion('How old are you?', [
]).addQuestion('How old are you?', 'Question description', [
{
title: 'Child (0-9 yo)',
value: 0,
Expand Down

0 comments on commit ebb2532

Please sign in to comment.