diff --git a/src/components/services/Radarr.vue b/src/components/services/Radarr.vue index 3b88083..9d38292 100644 --- a/src/components/services/Radarr.vue +++ b/src/components/services/Radarr.vue @@ -70,7 +70,7 @@ export default { }, methods: { fetchConfig: function () { - fetch(`${this.item.url}/api/health?apiKey=${this.item.apikey}`) + fetch(`${this.item.url}/api/health?apikey=${this.item.apikey}`) .then((response) => { if (response.status != 200) { throw new Error(response.statusText); @@ -92,7 +92,7 @@ export default { console.error(e); this.serverError = true; }); - fetch(`${this.item.url}/api/queue?apiKey=${this.item.apikey}`) + fetch(`${this.item.url}/api/queue?apikey=${this.item.apikey}`) .then((response) => { if (response.status != 200) { throw new Error(response.statusText); diff --git a/src/components/services/Sonarr.vue b/src/components/services/Sonarr.vue index 3460067..7851b6b 100644 --- a/src/components/services/Sonarr.vue +++ b/src/components/services/Sonarr.vue @@ -70,7 +70,7 @@ export default { }, methods: { fetchConfig: function () { - fetch(`${this.item.url}/api/health?apiKey=${this.item.apikey}`) + fetch(`${this.item.url}/api/health?apikey=${this.item.apikey}`) .then((response) => { if (response.status != 200) { throw new Error(response.statusText); @@ -92,7 +92,7 @@ export default { console.error(e); this.serverError = true; }); - fetch(`${this.item.url}/api/queue?apiKey=${this.item.apikey}`) + fetch(`${this.item.url}/api/queue?apikey=${this.item.apikey}`) .then((response) => { if (response.status != 200) { throw new Error(response.statusText);