mirror of https://github.com/bastienwirtz/homer
Update Sonarr and Radarr API
parent
68b10120c9
commit
cb154a6818
|
@ -48,7 +48,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fetchConfig: function () {
|
fetchConfig: function () {
|
||||||
this.fetch(`/api/health?apikey=${this.item.apikey}`)
|
this.fetch(`/api/v3/health?apikey=${this.item.apikey}`)
|
||||||
.then((health) => {
|
.then((health) => {
|
||||||
this.warnings = 0;
|
this.warnings = 0;
|
||||||
this.errors = 0;
|
this.errors = 0;
|
||||||
|
@ -64,7 +64,7 @@ export default {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
this.serverError = true;
|
this.serverError = true;
|
||||||
});
|
});
|
||||||
this.fetch(`/api/queue?apikey=${this.item.apikey}`)
|
this.fetch(`/api/v3/queue?apikey=${this.item.apikey}`)
|
||||||
.then((queue) => {
|
.then((queue) => {
|
||||||
this.activity = 0;
|
this.activity = 0;
|
||||||
for (var i = 0; i < queue.length; i++) {
|
for (var i = 0; i < queue.length; i++) {
|
||||||
|
|
|
@ -49,7 +49,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fetchConfig: function () {
|
fetchConfig: function () {
|
||||||
this.fetch(`/api/health?apikey=${this.item.apikey}`)
|
this.fetch(`/api/v3/health?apikey=${this.item.apikey}`)
|
||||||
.then((health) => {
|
.then((health) => {
|
||||||
this.warnings = 0;
|
this.warnings = 0;
|
||||||
this.errors = 0;
|
this.errors = 0;
|
||||||
|
@ -65,7 +65,7 @@ export default {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
this.serverError = true;
|
this.serverError = true;
|
||||||
});
|
});
|
||||||
this.fetch(`/api/queue?apikey=${this.item.apikey}`)
|
this.fetch(`/api/v3/queue?apikey=${this.item.apikey}`)
|
||||||
.then((queue) => {
|
.then((queue) => {
|
||||||
this.activity = 0;
|
this.activity = 0;
|
||||||
for (var i = 0; i < queue.length; i++) {
|
for (var i = 0; i < queue.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue