Skip to content

Commit

Permalink
[FIX] Bearer 중복으로 들어가는 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi committed Mar 2, 2024
1 parent bd3d35c commit 4e35c29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public String getKakaoData(final String accessToken) {
val restClient = RestClient.create();
val response = restClient.get()
.uri(valueConfig.getKAKAO_URL())
.header(AUTHORIZATION, "Bearer " + accessToken)
.header(AUTHORIZATION, accessToken)
.retrieve()
.onStatus(HttpStatusCode::is4xxClientError,
(kakaoRequest, kakaoResponse) -> {
Expand Down

0 comments on commit 4e35c29

Please sign in to comment.