Skip to content

Commit

Permalink
fix: 기여도 버그 해결 (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymkim97 authored Dec 2, 2023
1 parent 9e81987 commit 12b5f08
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ private CertificationImagesResponse getCertificationImages(Long memberId, List<C
private int calculateContributionPoint(Long memberId, List<Participant> participants, LocalDate date) {
Participant participant = participants.stream()
.filter(p -> p.getMemberId().equals(memberId))
.filter(p -> p.getDeletedAt() == null)
.findAny()
.orElseThrow(() -> new NotFoundException(ROOM_DETAILS_ERROR));

Expand Down

0 comments on commit 12b5f08

Please sign in to comment.