diff --git a/client/src/components/Admin/event/EventManage.jsx b/client/src/components/Admin/event/EventManage.jsx index cce32312..116ea0ef 100644 --- a/client/src/components/Admin/event/EventManage.jsx +++ b/client/src/components/Admin/event/EventManage.jsx @@ -17,7 +17,7 @@ const EventManage = () => { useEffect(() => { axios - .get(`${process.env.REACT_APP_API || ''}/event/all`) + .get(`${process.env.REACT_APP_API || ''}/event`) .then((res) => { fillEvents([...res.data.result]); updateLoadStatus({ message: "Loaded" });