Commit 55619272 authored by Kim, Subin's avatar Kim, Subin
Browse files

timetableApi remove 수정 완료

parent 931380b0
......@@ -11,8 +11,8 @@ const submit = async (sendData) => {
return data
}
const remove = async () => {
const { data } = await axios.delete(`${baseUrl}/api/timetable/`)
const remove = async (timeId) => {
const { data } = await axios.delete(`${baseUrl}/api/timetable/${timeId}`)
return data
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment