Skip to content

Commit

Permalink
Merge pull request #212 from Gamegoo-repo/refactor/211
Browse files Browse the repository at this point in the history
[Refactor/211] ์นœ๊ตฌ ๋ชฉ๋ก ์กฐํšŒ API ์‘๋‹ต์— ํƒˆํ‡ด ๊ด€๋ จ ๊ฐ’ ์ถ”๊ฐ€
  • Loading branch information
Eunjin3395 authored Sep 8, 2024
2 parents b6d42ba + 61d3df2 commit 8b819c1
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 8b819c1

Please sign in to comment.