From cd9dee749740013c22c73118042d890040ac636d Mon Sep 17 00:00:00 2001 From: Eunjin3395 Date: Fri, 20 Sep 2024 14:08:43 +0900 Subject: [PATCH] =?UTF-8?q?:recycle:=20[Refactor]=20=EC=B0=A8=EB=8B=A8=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20=EC=A1=B0=ED=9A=8C=20API=20=EC=9D=91?= =?UTF-8?q?=EB=8B=B5=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/gamegoo/converter/MemberConverter.java | 3 ++- src/main/java/com/gamegoo/dto/member/MemberResponse.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/gamegoo/converter/MemberConverter.java b/src/main/java/com/gamegoo/converter/MemberConverter.java index b9871322..6f5ced07 100644 --- a/src/main/java/com/gamegoo/converter/MemberConverter.java +++ b/src/main/java/com/gamegoo/converter/MemberConverter.java @@ -33,7 +33,8 @@ public static MemberResponse.blockedMemberDTO toBlockedMemberDTO(Member member) .memberId(member.getId()) .profileImg(member.getProfileImage()) .email(member.getEmail()) - .name(member.getGameName()) + .name(member.getBlind() ? "(탈퇴한 사용자)" : member.getGameName()) + .isBlind(member.getBlind()) .build(); } diff --git a/src/main/java/com/gamegoo/dto/member/MemberResponse.java b/src/main/java/com/gamegoo/dto/member/MemberResponse.java index 0274f6c0..9d72b7e5 100644 --- a/src/main/java/com/gamegoo/dto/member/MemberResponse.java +++ b/src/main/java/com/gamegoo/dto/member/MemberResponse.java @@ -35,6 +35,7 @@ public static class blockedMemberDTO { Integer profileImg; String email; String name; + Boolean isBlind; } @Getter