dev_hjm^2
parent
a21ca8c695
commit
3aa38f1f39
@ -0,0 +1,13 @@
|
||||
import axios from 'axios'
|
||||
|
||||
export function deleteVideoInCloud(login, video_id) {
|
||||
const url = `/users/${login}/videos/cancel.json`
|
||||
axios.post(url, {
|
||||
video_id
|
||||
}).then((response) => {
|
||||
|
||||
|
||||
}).catch((error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
Loading…
Reference in new issue