Skip to content

Commit

Permalink
fix: commit conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
suw0n committed Aug 22, 2024
1 parent b1a2044 commit e4d39b3
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ public ResponseData<List<MemberInfoRes>> getDeactivateMembers() {
}

@Cacheable(value = "members-cache", key = "'activeMembers'")
public ResponseData<List<MemberInfoRes>> getAll() {
return ResponseData.ok("모든 멤버 정보 조회 성공", memberRepository.findByStatusOrderByStudent(ActiveStatus.ACTIVE)
.parallelStream()
public List<MemberInfoRes> getAll() {
return memberRepository.findByStatusOrderByStudent(ActiveStatus.ACTIVE).parallelStream()
.map(this::getMemberInfo)
.toList());
.toList();
}

private MemberInfoRes getMemberInfo(Member member) {
Expand Down

0 comments on commit e4d39b3

Please sign in to comment.