Skip to content

Commit

Permalink
user 정보 api 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
gkfktkrh153 committed Mar 23, 2024
1 parent ce1214b commit b5a275f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public Response<Void> rotateToken(HttpServletRequest request, HttpServletRespons
}
@LoginChecking
@GetMapping("/info")
public Response<Void> getUserInfo(){
memberService.getUserInfo();
return Response.success(HttpStatus.OK, "토큰이 재발급 되었습니다.");
public Response<LoginResponse> getUserInfo(){
LoginResponse userInfo = memberService.getUserInfo();
return Response.success(HttpStatus.OK, "토큰이 재발급 되었습니다.",userInfo);
}
}

0 comments on commit b5a275f

Please sign in to comment.