From ee087e5eeeb36bc2693345f41d965b1598bbbd25 Mon Sep 17 00:00:00 2001 From: SabreCat Date: Fri, 16 Feb 2018 21:36:10 +0000 Subject: [PATCH] refactor(rage-strike): consts --- website/client/components/shops/seasonal/index.vue | 2 +- website/client/store/actions/world-state.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/client/components/shops/seasonal/index.vue b/website/client/components/shops/seasonal/index.vue index 7ee8ae4f52..597937ff9c 100644 --- a/website/client/components/shops/seasonal/index.vue +++ b/website/client/components/shops/seasonal/index.vue @@ -379,7 +379,7 @@ }; }, async mounted () { - let worldState = await this.$store.dispatch('worldState:getWorldState'); + const worldState = await this.$store.dispatch('worldState:getWorldState'); this.broken = worldState.worldBoss.extra.worldDmg.seasonalShop; }, computed: { diff --git a/website/client/store/actions/world-state.js b/website/client/store/actions/world-state.js index c5b09cea91..924335992f 100644 --- a/website/client/store/actions/world-state.js +++ b/website/client/store/actions/world-state.js @@ -1,7 +1,7 @@ import axios from 'axios'; export async function getWorldState () { - let url = '/api/v3/world-state'; - let response = await axios.get(url); + const url = '/api/v3/world-state'; + const response = await axios.get(url); return response.data.data; }