From 03b5c1d76e2dbf38fb24405cbab0ec283b4d812a Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Thu, 28 May 2020 16:01:42 +0300 Subject: [PATCH] Fix tests --- src/store/modules/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/status.js b/src/store/modules/status.js index 74271afa..f8e52288 100644 --- a/src/store/modules/status.js +++ b/src/store/modules/status.js @@ -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)