Skip to content

Commit

Permalink
Merge pull request #338 from CheckMate-sookmyung/dev
Browse files Browse the repository at this point in the history
merge: dev to main
  • Loading branch information
misung-dev authored Sep 23, 2024
2 parents 7020ae7 + 9c67c56 commit 803e154
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/Pages/EventCardListPage/EventCardListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
4 changes: 1 addition & 3 deletions src/pages/EventCardListPage/EventCardListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 803e154

Please sign in to comment.