aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/PiHole.vue
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2023-10-21 14:24:05 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2023-10-21 14:24:05 +0200
commitde4b7e6124254a192c897bdf0070b078a64ee563 (patch)
tree2517f4e70c56b55515f75b686fd9ea508ef5659c /src/components/services/PiHole.vue
parentecf664d19b2a46c9d89a9a9c1128e22b7228607a (diff)
downloadhomer-de4b7e6124254a192c897bdf0070b078a64ee563.tar.gz
homer-de4b7e6124254a192c897bdf0070b078a64ee563.tar.zst
homer-de4b7e6124254a192c897bdf0070b078a64ee563.zip
Linting updatev23.10.1
Diffstat (limited to 'src/components/services/PiHole.vue')
-rw-r--r--src/components/services/PiHole.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/services/PiHole.vue b/src/components/services/PiHole.vue
index 237cb12..b111456 100644
--- a/src/components/services/PiHole.vue
+++ b/src/components/services/PiHole.vue
@@ -52,8 +52,9 @@ export default {
52 const authQueryParams = this.item.apikey 52 const authQueryParams = this.item.apikey
53 ? `?summaryRaw&auth=${this.item.apikey}` 53 ? `?summaryRaw&auth=${this.item.apikey}`
54 : ""; 54 : "";
55 const result = await this.fetch(`/api.php${authQueryParams}`) 55 const result = await this.fetch(`/api.php${authQueryParams}`).catch((e) =>
56 .catch((e) => console.log(e)); 56 console.log(e),
57 );
57 58
58 this.status = result.status; 59 this.status = result.status;
59 this.ads_percentage_today = result.ads_percentage_today; 60 this.ads_percentage_today = result.ads_percentage_today;