feat : 채점시 대소문자 체크

This commit is contained in:
yulmam 2024-08-09 14:45:27 +09:00
parent 405e45b9d1
commit 3e509fa9eb

View File

@ -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 {