Skip to content

Commit

Permalink
[refactor] 해당 공모전에서 모집중인 팀 리스트 모집현황 수정
Browse files Browse the repository at this point in the history
[refactor] 해당 공모전에서 모집중인 팀 리스트 모집현황 수정
  • Loading branch information
emilywin825 authored Nov 23, 2023
2 parents e54db52 + 2c6c1fa commit ba47633
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static RecruitingContestTeamResponseDto of(Team team, User leader, List<U
return RecruitingContestTeamResponseDto.builder()
.teamId(team.getId())
.max(max)
.cur(teamMemeberInfos.size())
.cur(teamMemeberInfos.size()+1) //팀장 포함
.leaderMessage(team.getLeaderMessage())
.leftMember(max - cur)
.leaderInfo(new ResponseTeamMemeberDto(leader))
Expand Down

0 comments on commit ba47633

Please sign in to comment.