aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/components/services/Radarr.vue4
-rw-r--r--src/components/services/Sonarr.vue4
2 files changed, 4 insertions, 4 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++) {
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++) {