diff --git a/store/file/file.go b/store/file/file.go index e1f1d1a..2255788 100644 --- a/store/file/file.go +++ b/store/file/file.go @@ -167,7 +167,7 @@ func MarkdownFromQuiz(quiz *models.Quiz) (string, error) { var otherAnswers string for _, answer := range quiz.Answers { - if quiz.Correct != answer { + if quiz.Correct.ID != answer.ID { otherAnswers += "* " + answer.Text + "\n" } }