Skip to content

Commit

Permalink
Refactor: 내 프로필 정보 반환 값 수정 (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
giwoong01 authored Dec 17, 2024
1 parent 544171a commit c1ba20f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public record MyPageInfoResDto(
String nickName,
SocialType socialType,
String introduction,
Long memberId

Long memberId,
String tag
) {
public static MyPageInfoResDto From(Member member) {
return MyPageInfoResDto.builder()
Expand All @@ -24,6 +24,7 @@ public static MyPageInfoResDto From(Member member) {
.socialType(member.getSocialType())
.introduction(member.getIntroduction())
.memberId(member.getId())
.tag(member.getTag())
.build();
}
}

0 comments on commit c1ba20f

Please sign in to comment.