Skip to content

Commit

Permalink
Merge pull request #735 from davidktlee/fix-naver-env
Browse files Browse the repository at this point in the history
fix: 수정 필요한 부분 추가 수정
  • Loading branch information
ollehkt authored Apr 9, 2024
2 parents 718330d + abdc277 commit d5af76d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/app/_components/search/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export async function searchNaverAction(
const response = await fetch(searchUrl(keyword), {
method: 'GET',
headers: {
'X-Naver-Client-Id': process.env.NAVER_SEARCH_ID,
'X-Naver-Client-Secret': process.env.NAVER_SEARCH_SECRET,
'X-Naver-Client-Id': process.env.NAVER_DEVELOPERS_ID,
'X-Naver-Client-Secret': process.env.NAVER_DEVELOPERS_SECRET,
},
});

Expand All @@ -71,8 +71,8 @@ export async function searchAction(keyword: string): Promise<TSearchResult> {
const response = await fetch(searchUrl(keyword), {
method: 'GET',
headers: {
'X-Naver-Client-Id': process.env.NAVER_SEARCH_ID,
'X-Naver-Client-Secret': process.env.NAVER_SEARCH_SECRET,
'X-Naver-Client-Id': process.env.NAVER_DEVELOPERS_ID,
'X-Naver-Client-Secret': process.env.NAVER_DEVELOPERS_SECRET,
},
});

Expand Down

0 comments on commit d5af76d

Please sign in to comment.