Skip to content

Commit

Permalink
Merge pull request #112 from nhnacademy-be4-ckin/feat/member
Browse files Browse the repository at this point in the history
[FIX] 마이페이지 오류 로그 확인
  • Loading branch information
devhomh authored Mar 13, 2024
2 parents e2648b0 + 3db82db commit 399f322
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,14 @@ public ResponseEntity<MemberInfoDetailResponseDto> getMemberInfoDetail(
@GetMapping("/members/mypage/{memberId}")
public ResponseEntity<MemberMyPageResponseDto> getMyPageInfo(
@PathVariable("memberId") Long id) {
log.info("API memberId: {}", id.toString());

MemberMyPageResponseDto responseDto = memberService.getMyPageInfo(id);

log.info("API dto : {}", responseDto);
log.info("API dto name : {}", responseDto.getName());
log.info("API dto grade name : {}", responseDto.getGradeName());

return ResponseEntity.status(HttpStatus.OK).body(responseDto);
}

Expand Down

0 comments on commit 399f322

Please sign in to comment.