diff options
-rw-r--r-- | src/components/services/Emby.vue | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/services/Emby.vue b/src/components/services/Emby.vue index 4d54344..98b7ed3 100644 --- a/src/components/services/Emby.vue +++ b/src/components/services/Emby.vue | |||
@@ -59,11 +59,7 @@ export default { | |||
59 | }, | 59 | }, |
60 | methods: { | 60 | methods: { |
61 | fetchServerStatus: async function () { | 61 | fetchServerStatus: async function () { |
62 | const headers = { | 62 | await this.fetch("/System/info/public") |
63 | "X-Emby-Token": this.item.apikey, | ||
64 | }; | ||
65 | |||
66 | await this.fetch("/System/info/public", { headers }) | ||
67 | .then((response) => { | 63 | .then((response) => { |
68 | if (response.Id) this.status = "running"; | 64 | if (response.Id) this.status = "running"; |
69 | else this.status = "dead"; | 65 | else this.status = "dead"; |