Skip to content

Commit

Permalink
♻️ [Refactor] 차단 목록 조회 API 응답 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunjin3395 committed Sep 20, 2024
1 parent 2b28cb0 commit cd9dee7
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -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();

}
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/gamegoo/dto/member/MemberResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public static class blockedMemberDTO {
Integer profileImg;
String email;
String name;
Boolean isBlind;
}

@Getter
Expand Down

0 comments on commit cd9dee7

Please sign in to comment.