Skip to content

Commit

Permalink
fix: field name for question explanation in the creation form
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Moravec committed Sep 6, 2024
1 parent 46c1698 commit d91fbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/CreateQuestion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function CreateQuestionForm() {
answers: formData.answers,
correctAnswer: formData.correctAnswer,
explanations: formData.explanations,
questionExplanations: formData.questionExplanation,
questionExplanation: formData.questionExplanation,
quizType: 'SINGLE',
}
fetch('/api/quiz-question', {
Expand Down

0 comments on commit d91fbf3

Please sign in to comment.