Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] 회원 정보 조회 시, 프로필 이미지 url도 내려주도록 수정 #87

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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