diff --git a/quiz_service.go b/quiz_service.go index e48e348..7eaa3cb 100644 --- a/quiz_service.go +++ b/quiz_service.go @@ -654,7 +654,7 @@ func (s *QuizService) GetBookmarkedTargets(username, category string) []TargetIn func (s *QuizService) GetBookmarkedQuestions(username, category, difficulty string) []Question { query := ` SELECT q.id, q.source, q.category, q.question_text, q.choice1, q.choice2, q.choice3, q.choice4, COALESCE(q.choice5, '') as choice5, - q.correct_answer, q.correct_answer_str, q.explanation, q.difficulty, q.passage, q.image_url, + q.correct_answer, COALESCE(q.correct_answer_str, '') as correct_answer_str, q.explanation, COALESCE(q.difficulty, '') as difficulty, COALESCE(q.passage, '') as passage, COALESCE(q.image_url, '') as image_url, COALESCE(e.explain, '') as geminiExplanation, 1 as isBookmarked, COALESCE(q.subject, '') as subject,