Skip to content

Commit

Permalink
fix: kakao search api 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
DongGeon0908 committed Apr 6, 2024
1 parent 53e7084 commit 6421fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/core/api/client/AddressClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public KakaoApiResponse search(BigDecimal latitude, BigDecimal longitude) {
HttpEntity<String> entity = new HttpEntity<>(headers);

UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl("https://dapi.kakao.com/v2/local/geo/coord2regioncode.json")
.queryParam("x", latitude)
.queryParam("y", longitude);
.queryParam("x", longitude)
.queryParam("y", latitude);

// GET 요청 수행
return restTemplate.exchange(
Expand Down

0 comments on commit 6421fc3

Please sign in to comment.