Skip to content

Commit

Permalink
#311 fix: 행사 출석 명단 확인 API 일부 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
misung-dev committed Sep 18, 2024
1 parent 56642b0 commit f160a06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/apis/attendance.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { axiosInstance } from '@/axios';

export const getAttendanceList = async (userId, eventId) => {
export const getAttendanceList = async (eventId) => {
const { data } = await axiosInstance.get(
`/api/v1/attendance/list/${userId}/${eventId}`,
`/api/v1/events/attendanceList/${eventId}`,
);

return data;
};

export const updateAttendanceList = async (userId, eventId, body) => {
export const updateAttendanceList = async (eventId, body) => {
const { data } = await axiosInstance.put(
`/api/v1/attendance/list/${userId}/${eventId}`,
`/api/v1/attendance/list/${eventId}`,
body,
);

Expand Down

0 comments on commit f160a06

Please sign in to comment.