Skip to content

Commit

Permalink
fix: api 요청데이터 한국어로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
heechul94 committed Jan 15, 2024
1 parent f2dd6e4 commit 6ef703d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const options = {
};

export async function getMovieList() {
const BASE_URL = "https://api.themoviedb.org/3/movie/top_rated?language=en-US&page=1";
const BASE_URL = "https://api.themoviedb.org/3/movie/top_rated?language=ko&page=1";
try {
const result = await fetch(BASE_URL, options);
const data = await result.json();
Expand Down

0 comments on commit 6ef703d

Please sign in to comment.