diff --git a/package.json b/package.json index 2573ca5..b2573b8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "up-d4te", - "version": "1.0.0", + "version": "1.0.1", "description": "Recommend Dating Course in Korea with CLI", "author": { "name": "Sanghyeon Sim", diff --git a/source/api/kakao.js b/source/api/kakao.js index fc5394f..27e5faf 100644 --- a/source/api/kakao.js +++ b/source/api/kakao.js @@ -4,8 +4,9 @@ import dotenv from 'dotenv'; export const fetchKakaoShops = (query, category) => { dotenv.config(); - const API_KEY = process.env.KAKAO_API_KEY; - + // const API_KEY = process.env.KAKAO_API_KEY; + const API_KEY = "abf86987c958ad34e9313ed7e91008c5"; + const url = `https://dapi.kakao.com/v2/local/search/keyword.json?query=${query}&size=3`; if (category == 'cafe') { diff --git a/source/component/ListShop.js b/source/component/ListShop.js index 329dea9..9c6db79 100644 --- a/source/component/ListShop.js +++ b/source/component/ListShop.js @@ -25,7 +25,7 @@ const ListShop = ({shops, setShops, setType}) => { {'{'} "Status code": 404 "Description": "검색 결과가 없습니다." - {'{'} + {'}'} ) : (