Skip to content

Commit

Permalink
refactor: 주차 순서대로 출석 세팅되도록 수정 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddingmin authored May 31, 2024
1 parent b581c30 commit 501d9a8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class CreateNewMember(

private fun initializeAttendance(member: Member, generationId: Int) {
sessionGateway.findAllByGeneration(generationId).distinct()
.sortedBy { it.week }
.forEach { session ->
attendanceGateway.save(
Attendance.newAttendance(
Expand Down

0 comments on commit 501d9a8

Please sign in to comment.