Skip to content

Commit

Permalink
refactor: 주차별 출결 번호 이번주차와 다음주차만 뜨도록 변경 (#746)
Browse files Browse the repository at this point in the history
* refactor: 주차별 출결 번호 이번주차와 다음주차만 뜨도록 변경

* refactor: 리스트 최소조건 추가

* refactor: 리미트 최소조건 제거
  • Loading branch information
seulgi99 authored Sep 3, 2024
1 parent 634ebdd commit e44cabc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public List<StudyMentorAttendanceResponse> getAttendanceNumbers(Long studyId) {
return studyDetails.stream()
.filter(studyDetail -> studyDetail.isAttendanceDayNotPassed(LocalDate.now()))
.map(StudyMentorAttendanceResponse::from)
.limit(2)
.toList();
}
}

0 comments on commit e44cabc

Please sign in to comment.