Update Sonarr.vue

This commit is contained in:
Colin 2021-09-22 10:47:10 -07:00 committed by GitHub
parent e32643056e
commit d6d078132b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,9 @@ 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}`, {
credentials: "include",
})
.then((response) => {
if (response.status != 200) {
throw new Error(response.statusText);