mirror of
https://github.com/KevinMidboe/seasonedRequest.git
synced 2025-10-29 09:50:14 +00:00
Removed tmdb type from request
This commit is contained in:
@@ -87,7 +87,7 @@ export default {
|
|||||||
},
|
},
|
||||||
sendTorrent(magnet, name){
|
sendTorrent(magnet, name){
|
||||||
axios.post(`https://api.kevinmidboe.com/api/v1/pirate/add`, {
|
axios.post(`https://api.kevinmidboe.com/api/v1/pirate/add`, {
|
||||||
magnet: magnet, name: name, tmdb_id: this.tmdb_id, type: this.tmdb_type }, { headers: {authorization: storage.token}
|
magnet: magnet, name: name, tmdb_id: this.tmdb_id }, { headers: {authorization: storage.token}
|
||||||
})
|
})
|
||||||
.catch((resp) => { console.log('error:', resp.data) })
|
.catch((resp) => { console.log('error:', resp.data) })
|
||||||
.then((resp) => { console.log('addTorrent resp: ', resp) })
|
.then((resp) => { console.log('addTorrent resp: ', resp) })
|
||||||
|
|||||||
Reference in New Issue
Block a user