diff --git a/backend/src/main/java/com/edufocus/edufocus/report/service/ReportServiceImpl.java b/backend/src/main/java/com/edufocus/edufocus/report/service/ReportServiceImpl.java index 33d0a71..5f857da 100644 --- a/backend/src/main/java/com/edufocus/edufocus/report/service/ReportServiceImpl.java +++ b/backend/src/main/java/com/edufocus/edufocus/report/service/ReportServiceImpl.java @@ -56,7 +56,7 @@ public class ReportServiceImpl implements ReportService { String inputAnswer = answerInputList.get(idx); boolean isCorrect; Answer answer; - if (quiz.getAnswer().equals(inputAnswer)) { + if (quiz.getAnswer().equalsIgnoreCase(inputAnswer)) { correctCount++; isCorrect = true; } else {