add follow request users to store

This commit is contained in:
Shpuld Shpuldson 2020-07-02 12:19:33 +03:00
parent beb160bd53
commit f0668c9ff8

View file

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