Skip to content

Commit

Permalink
Merge pull request #63 from ej070961/develop
Browse files Browse the repository at this point in the history
fix: 페이징 api 경로 수정
  • Loading branch information
ej070961 authored Aug 10, 2024
2 parents 14e026e + 2aadeaf commit 2446e57
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 2446e57

Please sign in to comment.