aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/Radarr.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/services/Radarr.vue')
-rw-r--r--src/components/services/Radarr.vue6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/services/Radarr.vue b/src/components/services/Radarr.vue
index 93831a7..a9cdedf 100644
--- a/src/components/services/Radarr.vue
+++ b/src/components/services/Radarr.vue
@@ -70,9 +70,8 @@ export default {
70 }, 70 },
71 methods: { 71 methods: {
72 fetchConfig: function () { 72 fetchConfig: function () {
73 fetch(`${this.item.url}/api/health`, { 73 fetch(`${this.item.url}/api/health?apikey=${this.item.apikey}`, {
74 credentials: "include", 74 credentials: "include",
75 headers: { "X-Api-Key": `${this.item.apikey}` },
76 }) 75 })
77 .then((response) => { 76 .then((response) => {
78 if (response.status != 200) { 77 if (response.status != 200) {
@@ -95,9 +94,8 @@ export default {
95 console.error(e); 94 console.error(e);
96 this.serverError = true; 95 this.serverError = true;
97 }); 96 });
98 fetch(`${this.item.url}/api/queue`, { 97 fetch(`${this.item.url}/api/queue?apikey=${this.item.apikey}`, {
99 credentials: "include", 98 credentials: "include",
100 headers: { "X-Api-Key": `${this.item.apikey}` },
101 }) 99 })
102 .then((response) => { 100 .then((response) => {
103 if (response.status != 200) { 101 if (response.status != 200) {