Skip to content

Commit

Permalink
fix(synthData): use correct getter (locale, not platform)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed May 28, 2022
1 parent e50546c commit a46f73d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/cache.js
Expand Up @@ -30,7 +30,7 @@ export const actions = {
commit('commitRivens', [rootGetters['worldstate/platform'], rivens]);
},
async updateSynthData({ commit, rootGetters }) {
const res = await get(`https://api.warframestat.us/synthTargets&language=${rootGetters['worldstate/platform']}`);
const res = await get(`https://api.warframestat.us/synthTargets&language=${rootGetters['worldstate/locale']}`);
safeCommit(commit, 'commitSynthData', res);
},
async updateWarframes({ commit, rootGetters }) {
Expand Down

1 comment on commit a46f73d

@vercel
Copy link

@vercel vercel bot commented on a46f73d May 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

warframe-hub – ./

warframe-hub-wfcd.vercel.app
warframe-hub-git-dev-wfcd.vercel.app
hub.warframestat.us

Please sign in to comment.