Skip to content

Commit

Permalink
[fix] @responsebody 삭제
Browse files Browse the repository at this point in the history
[fix] @responsebody 삭제
  • Loading branch information
Jeoongu authored Oct 29, 2024
2 parents db17186 + cfa531e commit 417aac0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import ussum.homepage.application.user.service.UserService;
Expand All @@ -26,7 +25,7 @@ public class UserController {
PASSU 정보 조회 API 입니다. Authorization 헤더로 토큰 보내면 됩니다.
""")
@GetMapping("/user-info")
public ApiResponse<UserInfoResponse> getUserInfo(@RequestBody TokenRequest tokenRequest){
public ApiResponse<UserInfoResponse> getUserInfo(TokenRequest tokenRequest){
log.info("##### userId ##### : " + tokenRequest.getAccessToken());
return ApiResponse.onSuccess(userService.getUserInfo(tokenRequest.getAccessToken()));
}
Expand Down

0 comments on commit 417aac0

Please sign in to comment.