Skip to content

Commit

Permalink
chore: 파라미터 명 명확하게 변경
Browse files Browse the repository at this point in the history
- it -> memberFCM
  • Loading branch information
seokjin8678 committed Jun 1, 2024
1 parent 9f49590 commit dba432a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void registerFCM(Long memberId, String fcmToken) {
List<MemberFCM> memberFCMs = memberFCMRepository.findAllByMemberId(memberId);
LocalDateTime expiredAt = memberFCMExpiredAtPolicy.provide();
memberFCMs.stream()
.filter(it -> it.isSameToken(fcmToken))
.filter(memberFCM -> memberFCM.isSameToken(fcmToken))
.findAny()
.ifPresentOrElse(memberFCM -> {
memberFCM.changeExpiredAt(expiredAt);
Expand Down

0 comments on commit dba432a

Please sign in to comment.