fix: use api instead of store action to query domains

This commit is contained in:
axolotle 2024-03-26 23:17:17 +01:00
parent a5e0022fb5
commit 8479fe4a20

View file

@ -145,7 +145,7 @@ export default {
// and login prompt will be shown automaticly
await dispatch('GET_YUNOHOST_INFOS')
commit('SET_CONNECTED', true)
await dispatch('GET', { uri: 'domains', storeKey: 'domains' })
await api.get({ uri: 'domains', storeKey: 'domains' })
},
RESET_CONNECTED({ commit }) {