Skip to content

Commit

Permalink
Merge pull request #74 from Team-Umbba/fix/#73-restrict_custom_question
Browse files Browse the repository at this point in the history
[FIX] 선택 질문에 대한 유저의 답변이 일정 수 이상 되어야 custom이 이루어지게 수정
  • Loading branch information
ddongseop authored Jul 20, 2023
2 parents 9a453ed + da16f9a commit 5d43f59
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,10 @@ public void filterAllQuestion(Long userId, List<String> onboardingAnswerStringLi
}
}

// 선택 질문에 따라 질문 리스트가 커스텀됨
customQuestion(childList, parentList, parentchild.getQnaList());
if (childList.size() >= 5 && parentList.size() >= 5) {
// 선택 질문에 따라 질문 리스트가 커스텀됨
customQuestion(childList, parentList, parentchild.getQnaList());
}

log.info("선택된 질문 리스트");
List<QnA> forLogging= parentchild.getQnaList();
Expand Down

0 comments on commit 5d43f59

Please sign in to comment.