Skip to content

Commit

Permalink
Update KakaoLoginService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
haram8009 authored May 23, 2024
1 parent 671bbaa commit c4dde0d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public KakaoUserInfoDto getUserInfo(String accessToken) {
userInfoURI, HttpMethod.GET, request, String.class);

if (response.getStatusCode() == HttpStatus.OK) {
log.debug("return: {}", response.getBody()["id"]);
return objectMapper.readValue(response.getBody(), KakaoUserInfoDto.class);
} else {
throw new RuntimeException("Failed to retrieve user info from Kakao API");
Expand Down

0 comments on commit c4dde0d

Please sign in to comment.