Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
butter-studio
Commits
55619272
Commit
55619272
authored
Aug 07, 2021
by
Kim, Subin
Browse files
timetableApi remove 수정 완료
parent
931380b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/apis/timetable.api.js
View file @
55619272
...
@@ -11,8 +11,8 @@ const submit = async (sendData) => {
...
@@ -11,8 +11,8 @@ const submit = async (sendData) => {
return
data
return
data
}
}
const
remove
=
async
()
=>
{
const
remove
=
async
(
timeId
)
=>
{
const
{
data
}
=
await
axios
.
delete
(
`
${
baseUrl
}
/api/timetable/`
)
const
{
data
}
=
await
axios
.
delete
(
`
${
baseUrl
}
/api/timetable/
${
timeId
}
`
)
return
data
return
data
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment