biome format --write
This commit is contained in:
parent
8372348148
commit
9262e803ec
415 changed files with 54076 additions and 17419 deletions
|
|
@ -2,11 +2,15 @@ import apiService from '../api/api.service.js'
|
|||
import { promiseInterval } from '../promise_interval/promise_interval.js'
|
||||
|
||||
const fetchAndUpdate = ({ store, credentials }) => {
|
||||
return apiService.fetchFollowRequests({ credentials })
|
||||
.then((requests) => {
|
||||
store.commit('setFollowRequests', requests)
|
||||
store.commit('addNewUsers', requests)
|
||||
}, () => {})
|
||||
return apiService
|
||||
.fetchFollowRequests({ credentials })
|
||||
.then(
|
||||
(requests) => {
|
||||
store.commit('setFollowRequests', requests)
|
||||
store.commit('addNewUsers', requests)
|
||||
},
|
||||
() => {},
|
||||
)
|
||||
.catch(() => {})
|
||||
}
|
||||
|
||||
|
|
@ -17,7 +21,7 @@ const startFetching = ({ credentials, store }) => {
|
|||
}
|
||||
|
||||
const followRequestFetcher = {
|
||||
startFetching
|
||||
startFetching,
|
||||
}
|
||||
|
||||
export default followRequestFetcher
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue