add follow request users to store

このコミットが含まれているのは:
Shpuld Shpuldson 2020-07-02 12:19:33 +03:00
コミット f0668c9ff8
1個のファイルの変更1行の追加0行の削除

ファイルの表示

@ -4,6 +4,7 @@ const fetchAndUpdate = ({ store, credentials }) => {
return apiService.fetchFollowRequests({ credentials }) return apiService.fetchFollowRequests({ credentials })
.then((requests) => { .then((requests) => {
store.commit('setFollowRequests', requests) store.commit('setFollowRequests', requests)
store.commit('addNewUsers', requests)
}, () => {}) }, () => {})
.catch(() => {}) .catch(() => {})
} }