Skip to content

Commit

Permalink
chore: version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmoon-mind committed Sep 2, 2023
1 parent 80b459e commit c1f479a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 3 additions & 2 deletions source/api/kakao.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion source/component/ListShop.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ListShop = ({shops, setShops, setType}) => {
<Text>{'{'}</Text>
<Text> "Status code": 404</Text>
<Text> "Description": "검색 결과가 없습니다."</Text>
<Text>{'{'}</Text>
<Text>{'}'}</Text>
</Box>
) : (
<Box flexDirection="column">
Expand Down

0 comments on commit c1f479a

Please sign in to comment.