Skip to content

Commit

Permalink
fix: 페이징 api 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ej070961 committed Aug 10, 2024
1 parent 14e026e commit 2aadeaf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/apis/sponsor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,7 @@ export const getPagingPost = async (
url += `&q=${encodeURIComponent(keyword)}`;
}
try {
const res = await axios.get(url, {
headers: {
"Content-Type": "application/json",
},
});
const res = await axiosInstance.get(url);
return res.data.data;
} catch (error) {
console.log(error);
Expand Down

0 comments on commit 2aadeaf

Please sign in to comment.