mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-19 12:18:51 +00:00
refactor(rage-strike): consts
This commit is contained in:
parent
95179be346
commit
ee087e5eee
2 changed files with 3 additions and 3 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue