refactor(rage-strike): consts

This commit is contained in:
SabreCat 2018-02-16 21:36:10 +00:00
parent 95179be346
commit ee087e5eee
2 changed files with 3 additions and 3 deletions

View file

@ -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: {

View file

@ -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;
}