From 1bed14c8c3005796310f0cb192482165717b61b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Mon, 13 Aug 2018 00:32:38 +0200 Subject: [PATCH] Removed tmdb type from request --- src/components/TorrentList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TorrentList.vue b/src/components/TorrentList.vue index b5d52fc..39db2fa 100644 --- a/src/components/TorrentList.vue +++ b/src/components/TorrentList.vue @@ -87,7 +87,7 @@ export default { }, sendTorrent(magnet, name){ 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) }) .then((resp) => { console.log('addTorrent resp: ', resp) })