aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/Tautulli.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/services/Tautulli.vue')
-rw-r--r--src/components/services/Tautulli.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/services/Tautulli.vue b/src/components/services/Tautulli.vue
index 2e8f8f5..0f27ff1 100644
--- a/src/components/services/Tautulli.vue
+++ b/src/components/services/Tautulli.vue
@@ -50,14 +50,16 @@ export default {
50 methods: { 50 methods: {
51 fetchStatus: async function () { 51 fetchStatus: async function () {
52 try { 52 try {
53 const response = await this.fetch(`/api/v2?apikey=${this.item.apikey}&cmd=get_activity`); 53 const response = await this.fetch(
54 `/api/v2?apikey=${this.item.apikey}&cmd=get_activity`
55 );
54 this.error = false; 56 this.error = false;
55 this.stats = response.response.data; 57 this.stats = response.response.data;
56 } catch (e) { 58 } catch (e) {
57 this.error = true; 59 this.error = true;
58 console.error(e); 60 console.error(e);
59 } 61 }
60 } 62 },
61 }, 63 },
62}; 64};
63</script> 65</script>