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 =