From afcccef8a33d629201ae72c3a8b326d2e01e5a9c Mon Sep 17 00:00:00 2001 From: yeseul106 <20191037@sungshin.ac.kr> Date: Tue, 23 Jan 2024 04:03:57 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=ED=9A=8C=EC=9B=90=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20=EC=A1=B0=ED=9A=8C=20=EC=8B=9C,=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=ED=95=84=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20url=EB=8F=84=20?= =?UTF-8?q?=EB=82=B4=EB=A0=A4=EC=A3=BC=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/member/dto/response/MemberDetailGetResponseDto.java | 1 + .../growthookserver/api/member/service/MemberServiceImpl.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/growthookServer/src/main/java/com/example/growthookserver/api/member/dto/response/MemberDetailGetResponseDto.java b/growthookServer/src/main/java/com/example/growthookserver/api/member/dto/response/MemberDetailGetResponseDto.java index 5e413f7..777658e 100644 --- a/growthookServer/src/main/java/com/example/growthookserver/api/member/dto/response/MemberDetailGetResponseDto.java +++ b/growthookServer/src/main/java/com/example/growthookserver/api/member/dto/response/MemberDetailGetResponseDto.java @@ -11,4 +11,5 @@ public class MemberDetailGetResponseDto { private String nickname; private String email; + private String profileImage; } diff --git a/growthookServer/src/main/java/com/example/growthookserver/api/member/service/MemberServiceImpl.java b/growthookServer/src/main/java/com/example/growthookserver/api/member/service/MemberServiceImpl.java index a657370..311e087 100644 --- a/growthookServer/src/main/java/com/example/growthookserver/api/member/service/MemberServiceImpl.java +++ b/growthookServer/src/main/java/com/example/growthookserver/api/member/service/MemberServiceImpl.java @@ -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