Fix tests

This commit is contained in:
Angelina Filippova 2020-05-28 16:01:42 +03:00
parent 20251b75e5
commit 03b5c1d76e

View file

@ -95,7 +95,7 @@ const status = {
commit('SET_LOADING', false)
dispatch('FetchUserStatuses', { userId: state.fetchedStatus.account.id, godmode: false })
},
async FetchStatusesCount({ commit, getters }) {
async FetchStatusesCount({ commit, getters }, instance) {
commit('SET_LOADING', true)
const { data } = await fetchStatusesCount(instance, getters.authHost, getters.token)
commit('SET_STATUS_VISIBILITY', data.status_visibility)