From 61d3df2190d96d5099fec7e91fec3f729e6f107c Mon Sep 17 00:00:00 2001 From: Eunjin3395 Date: Mon, 9 Sep 2024 01:32:29 +0900 Subject: [PATCH] =?UTF-8?q?:recycle:=20[Refactor]=20friendInfoDTO=EC=97=90?= =?UTF-8?q?=20=ED=83=88=ED=87=B4=ED=95=9C=20=EC=82=AC=EC=9A=A9=EC=9E=90=20?= =?UTF-8?q?=EC=86=8C=ED=99=98=EC=82=AC=EB=AA=85=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/gamegoo/converter/MemberConverter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gamegoo/converter/MemberConverter.java b/src/main/java/com/gamegoo/converter/MemberConverter.java index 4bad9b52..b9871322 100644 --- a/src/main/java/com/gamegoo/converter/MemberConverter.java +++ b/src/main/java/com/gamegoo/converter/MemberConverter.java @@ -143,7 +143,8 @@ public static MemberResponse.friendListDTO toFriendListDTO(Slice 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())