Skip to content

Commit

Permalink
hotfix: 그룹 지정생성 시 그룹 인원수 잘못 들어가는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry-Cha committed May 19, 2024
1 parent 8efb0c8 commit 3912f1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public long createChallenge(ChallengeRequest challengeRequest) {
request);
group.setChallenge(challenge);
group.setGroupType(GroupType.DESIGN);
group.setHeadCount(challengeRequest.groups().size());
group.setHeadCount(request.students().size());
challengeGroupRepository.save(group);
List<Member> members = request.students().stream()
.map(memberRepository::findById).filter(Optional::isPresent).map(Optional::get)
Expand Down

0 comments on commit 3912f1d

Please sign in to comment.