Skip to content

Commit

Permalink
Feat: Profile 닉네임 반환 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yumzen committed Aug 9, 2024
1 parent 18c4bff commit 20bc35d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public static MemberResponseDTO.UserProfileDTO toProfileResponseDto(Member membe
return MemberResponseDTO.UserProfileDTO.builder()
.currentMemberId(member.getMemberId())
.userId(user.getMemberId())
.userName(user.getNickname())
.photoUrl((member.getImage() != null)
? member.getImage().getImageUrl()
: "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public static class MemberImageDTO {
public static class UserProfileDTO {
Long currentMemberId;
Long userId;
String userName;
String photoUrl;
String githubUrl;
String linkedinUrl;
Expand Down

0 comments on commit 20bc35d

Please sign in to comment.