From d91fbf373258b35d2d536b68f45c1b51af82a2ff Mon Sep 17 00:00:00 2001 From: Jan Moravec Date: Fri, 6 Sep 2024 12:47:28 +0200 Subject: [PATCH] fix: field name for question explanation in the creation form --- frontend/src/pages/CreateQuestion.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/CreateQuestion.tsx b/frontend/src/pages/CreateQuestion.tsx index 3c76843..7704cde 100644 --- a/frontend/src/pages/CreateQuestion.tsx +++ b/frontend/src/pages/CreateQuestion.tsx @@ -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', {