From b5a275f4f253ce34bdf5c71b85a89dea37cba54a Mon Sep 17 00:00:00 2001 From: gkfktkrh153 Date: Sat, 23 Mar 2024 12:31:35 +0900 Subject: [PATCH] =?UTF-8?q?user=20=EC=A0=95=EB=B3=B4=20api=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/member/controller/MemberController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/api/farmingsoon/domain/member/controller/MemberController.java b/src/main/java/com/api/farmingsoon/domain/member/controller/MemberController.java index c1e4710..7ef67f9 100644 --- a/src/main/java/com/api/farmingsoon/domain/member/controller/MemberController.java +++ b/src/main/java/com/api/farmingsoon/domain/member/controller/MemberController.java @@ -56,8 +56,8 @@ public Response rotateToken(HttpServletRequest request, HttpServletRespons } @LoginChecking @GetMapping("/info") - public Response getUserInfo(){ - memberService.getUserInfo(); - return Response.success(HttpStatus.OK, "토큰이 재발급 되었습니다."); + public Response getUserInfo(){ + LoginResponse userInfo = memberService.getUserInfo(); + return Response.success(HttpStatus.OK, "토큰이 재발급 되었습니다.",userInfo); } }