]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Removed await from api call
authorunknown <espilioto@gmail.com>
Thu, 31 Mar 2022 20:55:32 +0000 (23:55 +0300)
committerunknown <espilioto@gmail.com>
Thu, 31 Mar 2022 20:55:32 +0000 (23:55 +0300)
src/components/services/Emby.vue

index 98b7ed31b364a49333bfd0cc39204cee4760513a..8f2790be995514415ea07a40e229b17899d87833 100644 (file)
@@ -59,7 +59,7 @@ export default {
   },
   methods: {
     fetchServerStatus: async function () {
-      await this.fetch("/System/info/public")
+      this.fetch("/System/info/public")
         .then((response) => {
           if (response.Id) this.status = "running";
           else this.status = "dead";