aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/Ping.vue
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2021-07-14 12:05:53 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2021-07-14 12:05:53 +0200
commitc06c0cdf9bbdc98f71dadb5edcc015926ba878e4 (patch)
tree68a50b1f1d557130fc9b0af22267c9857f64db97 /src/components/services/Ping.vue
parentf9cc1d27cc295498cc04b6965b88a366da7122e5 (diff)
downloadhomer-c06c0cdf9bbdc98f71dadb5edcc015926ba878e4.tar.gz
homer-c06c0cdf9bbdc98f71dadb5edcc015926ba878e4.tar.zst
homer-c06c0cdf9bbdc98f71dadb5edcc015926ba878e4.zip
Lint & updates
Diffstat (limited to 'src/components/services/Ping.vue')
-rw-r--r--src/components/services/Ping.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/services/Ping.vue b/src/components/services/Ping.vue
index a9114a8..9684419 100644
--- a/src/components/services/Ping.vue
+++ b/src/components/services/Ping.vue
@@ -53,8 +53,8 @@ export default {
53 fetchStatus: async function () { 53 fetchStatus: async function () {
54 const url = `${this.item.url}`; 54 const url = `${this.item.url}`;
55 this.api.status = await fetch(url) 55 this.api.status = await fetch(url)
56 .then((response) => "enabled") 56 .then(() => "enabled")
57 .catch((e) => "disabled"); 57 .catch(() => "disabled");
58 }, 58 },
59 }, 59 },
60}; 60};