From 47e8d9e3ab81647eb90be871ee95c7263f4de62f Mon Sep 17 00:00:00 2001 From: "misung.dev" Date: Mon, 23 Sep 2024 18:36:03 +0900 Subject: [PATCH] =?UTF-8?q?#326=20fix:=20=EC=9D=B4=EB=B2=A4=ED=8A=B8=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20api=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Pages/EventCardListPage/EventCardListPage.jsx | 4 +--- src/pages/EventCardListPage/EventCardListPage.jsx | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Pages/EventCardListPage/EventCardListPage.jsx b/src/Pages/EventCardListPage/EventCardListPage.jsx index df459f1d..db80833c 100644 --- a/src/Pages/EventCardListPage/EventCardListPage.jsx +++ b/src/Pages/EventCardListPage/EventCardListPage.jsx @@ -17,9 +17,7 @@ const EventCardListPage = () => { useEffect(() => { const fetchData = async () => { try { - const response = await axiosInstance.get( - `/api/v1/events?memberId=${USER_ID}&authority=MEMBER&member=true`, - ); + const response = await axiosInstance.get(`/api/v1/events`); const parsedEvents = response.data.map((event) => { const startDate = event.eventSchedules[0]; const endDate = diff --git a/src/pages/EventCardListPage/EventCardListPage.jsx b/src/pages/EventCardListPage/EventCardListPage.jsx index df459f1d..db80833c 100644 --- a/src/pages/EventCardListPage/EventCardListPage.jsx +++ b/src/pages/EventCardListPage/EventCardListPage.jsx @@ -17,9 +17,7 @@ const EventCardListPage = () => { useEffect(() => { const fetchData = async () => { try { - const response = await axiosInstance.get( - `/api/v1/events?memberId=${USER_ID}&authority=MEMBER&member=true`, - ); + const response = await axiosInstance.get(`/api/v1/events`); const parsedEvents = response.data.map((event) => { const startDate = event.eventSchedules[0]; const endDate =