Skip to content

Commit

Permalink
♻️ [Refactor] friendInfoDTO에 탈퇴한 사용자 소환사명 표시 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunjin3395 committed Sep 8, 2024
1 parent b6d42ba commit 61d3df2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/gamegoo/converter/MemberConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ public static MemberResponse.friendListDTO toFriendListDTO(Slice<Friend> friends
public static MemberResponse.friendInfoDTO toFriendInfoDto(Friend friend) {
return MemberResponse.friendInfoDTO.builder()
.memberId(friend.getToMember().getId())
.name(friend.getToMember().getGameName())
.name(
friend.getToMember().getBlind() ? "(탈퇴한 사용자)" : friend.getToMember().getGameName())
.memberProfileImg(friend.getToMember().getProfileImage())
.isLiked(friend.getIsLiked())
.isBlind(friend.getToMember().getBlind())
Expand Down

0 comments on commit 61d3df2

Please sign in to comment.