diff --git a/src/apis/sponsor.ts b/src/apis/sponsor.ts index 28af552..162fef1 100644 --- a/src/apis/sponsor.ts +++ b/src/apis/sponsor.ts @@ -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);