forked from AkkomaGang/akkoma-fe
add follow request users to store
This commit is contained in:
parent
beb160bd53
commit
f0668c9ff8
1 changed files with 1 additions and 0 deletions
|
@ -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(() => {})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue