dev_hjm
parent
d36da7c2c9
commit
913f7ed2cf
@ -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