윤규리

hospital index

......@@ -59,7 +59,7 @@ function getXY(hospitals, addNum) {
for (let i = 0; i < hospitals.length; i++) { // iterate through available hospitals...
fetch('https://dapi.kakao.com/v2/local/search/keyword.json?' + new URLSearchParams({
query: hospitals.name,
query: hospitals[i].name,
category_group_code: "HP8"
}), {
method: "GET",
......