From cb154a6818cd25a36298e307cb415b11e9bd2247 Mon Sep 17 00:00:00 2001
From: Duy NGUYEN <duynguyen@deevotech.com>
Date: Tue, 1 Feb 2022 16:39:15 +0100
Subject: Update Sonarr and Radarr API

---
 src/components/services/Sonarr.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/services/Sonarr.vue')

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 {
   },
   methods: {
     fetchConfig: function () {
-      this.fetch(`/api/health?apikey=${this.item.apikey}`)
+      this.fetch(`/api/v3/health?apikey=${this.item.apikey}`)
         .then((health) => {
           this.warnings = 0;
           this.errors = 0;
@@ -65,7 +65,7 @@ export default {
           console.error(e);
           this.serverError = true;
         });
-      this.fetch(`/api/queue?apikey=${this.item.apikey}`)
+      this.fetch(`/api/v3/queue?apikey=${this.item.apikey}`)
         .then((queue) => {
           this.activity = 0;
           for (var i = 0; i < queue.length; i++) {
-- 
cgit v1.2.3

