diff options
author | unknown <espilioto@gmail.com> | 2022-03-31 23:55:32 +0300 |
---|---|---|
committer | unknown <espilioto@gmail.com> | 2022-03-31 23:55:32 +0300 |
commit | cd1fc28f515e17956668e5bda5f39c1d250e3475 (patch) | |
tree | bd544876873e30c54df317d16f2e7140b9662f44 | |
parent | 5c42d50d4719fafb910685ac85b84be5980e6761 (diff) | |
download | homer-cd1fc28f515e17956668e5bda5f39c1d250e3475.tar.gz homer-cd1fc28f515e17956668e5bda5f39c1d250e3475.tar.zst homer-cd1fc28f515e17956668e5bda5f39c1d250e3475.zip |
Removed await from api call
-rw-r--r-- | src/components/services/Emby.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/services/Emby.vue b/src/components/services/Emby.vue index 98b7ed3..8f2790b 100644 --- a/src/components/services/Emby.vue +++ b/src/components/services/Emby.vue | |||
@@ -59,7 +59,7 @@ export default { | |||
59 | }, | 59 | }, |
60 | methods: { | 60 | methods: { |
61 | fetchServerStatus: async function () { | 61 | fetchServerStatus: async function () { |
62 | await this.fetch("/System/info/public") | 62 | this.fetch("/System/info/public") |
63 | .then((response) => { | 63 | .then((response) => { |
64 | if (response.Id) this.status = "running"; | 64 | if (response.Id) this.status = "running"; |
65 | else this.status = "dead"; | 65 | else this.status = "dead"; |