forked from extern/homer
Update Sonarr and Radarr API
This commit is contained in:
parent
68b10120c9
commit
cb154a6818
@ -48,7 +48,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;
|
||||
@ -64,7 +64,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++) {
|
||||
|
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user