diff --git a/src/apis/attendance.js b/src/apis/attendance.js index e5e2b65..38a64e6 100644 --- a/src/apis/attendance.js +++ b/src/apis/attendance.js @@ -8,7 +8,7 @@ export const getAttendanceList = async (eventId) => { export const updateAttendanceList = async (eventId, body) => { const { data } = await axiosInstance.put( - `/api/v1/attendance/list/${eventId}`, + `/api/v1/attendance/manage/${eventId}`, body, ); diff --git a/src/pages/DashboardPage/DashboardAttendeePage/DashboardAttendeePage.jsx b/src/pages/DashboardPage/DashboardAttendeePage/DashboardAttendeePage.jsx index 5a31cda..200f796 100644 --- a/src/pages/DashboardPage/DashboardAttendeePage/DashboardAttendeePage.jsx +++ b/src/pages/DashboardPage/DashboardAttendeePage/DashboardAttendeePage.jsx @@ -238,7 +238,7 @@ export default function DashboardAttendeePage() { const handleDownload = async () => { try { const response = await axiosInstance.get( - `/api/v1/attendance/list/${eventId}`, + `/api/v1/attendancelist/${eventId}`, { responseType: 'blob' }, );