Skip to content

Commit

Permalink
Merge pull request #128 from Team-Shaka/refactor/127
Browse files Browse the repository at this point in the history
♻️ Refactor: 프로필 조회 시, 전화번호 추가
  • Loading branch information
koojun99 authored Sep 12, 2024
2 parents 4b6ab9b + cbcb110 commit c1a304c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public static MemberResponseDTO.getProfile toGetProfile(List<Branch> branches, M
.memberId(member.getId())
.memberName(member.getName())
.userName(member.getUser().getName())
.phone(member.getUser().getPhone())
.closestMemberCount(BranchUtil.countClosestMembers(branches, targetMember.getId())) // ClosestMember 기능 개발 이후 변경 예정
.treehouseCount(member.getUser().getMemberList().size()) // TreehouseCount 기능 개발 이후 변경 예정
.fromMe(BranchUtil.calculateBranchDegree(branches, member.getId(), targetMember.getId()))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public static class getProfile {
private Long memberId;
private String memberName;
private String userName;
private String phone;
private Integer closestMemberCount;
private Integer treehouseCount;
private Integer fromMe;
Expand Down

0 comments on commit c1a304c

Please sign in to comment.