aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/Radarr.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/Radarr.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/Radarr.vue')
-rw-r--r--src/components/services/Radarr.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/services/Radarr.vue b/src/components/services/Radarr.vue
index a57c895..a8c97c1 100644
--- a/src/components/services/Radarr.vue
+++ b/src/components/services/Radarr.vue
@@ -48,7 +48,7 @@ export default {
48 }, 48 },
49 methods: { 49 methods: {
50 fetchConfig: function () { 50 fetchConfig: function () {
51 this.fetch(`/api/health?apikey=${this.item.apikey}`) 51 this.fetch(`/api/v3/health?apikey=${this.item.apikey}`)
52 .then((health) => { 52 .then((health) => {
53 this.warnings = 0; 53 this.warnings = 0;
54 this.errors = 0; 54 this.errors = 0;
@@ -64,7 +64,7 @@ export default {
64 console.error(e); 64 console.error(e);
65 this.serverError = true; 65 this.serverError = true;
66 }); 66 });
67 this.fetch(`/api/queue?apikey=${this.item.apikey}`) 67 this.fetch(`/api/v3/queue?apikey=${this.item.apikey}`)
68 .then((queue) => { 68 .then((queue) => {
69 this.activity = 0; 69 this.activity = 0;
70 for (var i = 0; i < queue.length; i++) { 70 for (var i = 0; i < queue.length; i++) {