From 2aadeafbcfcb1855753c529fda8a0a6e178eabfc Mon Sep 17 00:00:00 2001 From: ej070961 Date: Sat, 10 Aug 2024 17:17:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8E=98=EC=9D=B4=EC=A7=95=20api=20?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/sponsor.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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);