Skip to content

Commit

Permalink
[FIX] 회원 정보 조회 시, 프로필 이미지 url도 내려주도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yeseul106 committed Jan 22, 2024
1 parent 63fca73 commit afcccef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
public class MemberDetailGetResponseDto {
private String nickname;
private String email;
private String profileImage;
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public class MemberServiceImpl implements MemberService{
@Override
public MemberDetailGetResponseDto getMemberProfile(Long memberId) {
Member member = memberRepository.findMemberByIdOrThrow(memberId);
return MemberDetailGetResponseDto.of(member.getNickname(), member.getEmail());
return MemberDetailGetResponseDto.of(member.getNickname(), member.getEmail(),
member.getProfileImage());
}

@Override
Expand Down

0 comments on commit afcccef

Please sign in to comment.