aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/Sonarr.vue
diff options
context:
space:
mode:
authorDuy NGUYEN <duynguyen@deevotech.com>2022-02-01 16:39:15 +0100
committerDuy NGUYEN <duynguyen@deevotech.com>2022-02-01 16:39:15 +0100
commitcb154a6818cd25a36298e307cb415b11e9bd2247 (patch)
treea042b7c15cf9ce0696b6dba684d0217ff299a6e2 /src/components/services/Sonarr.vue
parent68b10120c940d51475843664f05d956abd53a0b5 (diff)
downloadhomer-cb154a6818cd25a36298e307cb415b11e9bd2247.tar.gz
homer-cb154a6818cd25a36298e307cb415b11e9bd2247.tar.zst
homer-cb154a6818cd25a36298e307cb415b11e9bd2247.zip
Update Sonarr and Radarr API
Diffstat (limited to 'src/components/services/Sonarr.vue')
-rw-r--r--src/components/services/Sonarr.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/services/Sonarr.vue b/src/components/services/Sonarr.vue
index f8dd0d1..972a1c9 100644
--- a/src/components/services/Sonarr.vue
+++ b/src/components/services/Sonarr.vue
@@ -49,7 +49,7 @@ export default {
49 }, 49 },
50 methods: { 50 methods: {
51 fetchConfig: function () { 51 fetchConfig: function () {
52 this.fetch(`/api/health?apikey=${this.item.apikey}`) 52 this.fetch(`/api/v3/health?apikey=${this.item.apikey}`)
53 .then((health) => { 53 .then((health) => {
54 this.warnings = 0; 54 this.warnings = 0;
55 this.errors = 0; 55 this.errors = 0;
@@ -65,7 +65,7 @@ export default {
65 console.error(e); 65 console.error(e);
66 this.serverError = true; 66 this.serverError = true;
67 }); 67 });
68 this.fetch(`/api/queue?apikey=${this.item.apikey}`) 68 this.fetch(`/api/v3/queue?apikey=${this.item.apikey}`)
69 .then((queue) => { 69 .then((queue) => {
70 this.activity = 0; 70 this.activity = 0;
71 for (var i = 0; i < queue.length; i++) { 71 for (var i = 0; i < queue.length; i++) {