Skip to content

Commit

Permalink
Merge pull request #113 from nhnacademy-be4-ckin/develop
Browse files Browse the repository at this point in the history
[DEPLOY] 마이페이지 버그 로그 확인
  • Loading branch information
devhomh authored Mar 13, 2024
2 parents fa21a60 + 399f322 commit cc134ff
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 cc134ff

Please sign in to comment.