From 55438e6bf612e80cbb1f02b4062016062a0a6f4f Mon Sep 17 00:00:00 2001 From: Seokyeong Date: Sun, 18 Feb 2024 15:15:22 +0900 Subject: [PATCH] chore: onboarding response member --- .../com/fullcar/member/application/member/MemberService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/fullcar/member/application/member/MemberService.java b/src/main/java/com/fullcar/member/application/member/MemberService.java index 60b3dd1..e964864 100644 --- a/src/main/java/com/fullcar/member/application/member/MemberService.java +++ b/src/main/java/com/fullcar/member/application/member/MemberService.java @@ -41,7 +41,7 @@ public Member findByMemberId(MemberId memberId) { public OnBoardingResponseDto registerOnBoarding(Member member, OnBoardingRequestDto onboardingRequestDto) { Member updatedMember = findByMemberId(member.getId()).saveOnBoardingInfo(memberMapper.toEntity(onboardingRequestDto)); memberRepository.saveAndFlush(updatedMember); - return memberMapper.toOnBoardingDto(member); + return memberMapper.toOnBoardingDto(updatedMember); } @Transactional(readOnly = true)