forked from AkkomaGang/akkoma-fe
Add params to bound fetcher
This commit is contained in:
parent
60973335a5
commit
031cb40904
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ const startFetching = ({ timeline = 'friends', credentials, store, userId = fals
|
||||||
timelineData.listId = listId
|
timelineData.listId = listId
|
||||||
fetchAndUpdate({ timeline, credentials, store, showImmediately, userId, listId, tag, params })
|
fetchAndUpdate({ timeline, credentials, store, showImmediately, userId, listId, tag, params })
|
||||||
const boundFetchAndUpdate = () =>
|
const boundFetchAndUpdate = () =>
|
||||||
fetchAndUpdate({ timeline, credentials, store, userId, listId, tag })
|
fetchAndUpdate({ timeline, credentials, store, userId, listId, tag, params })
|
||||||
return promiseInterval(boundFetchAndUpdate, 20000)
|
return promiseInterval(boundFetchAndUpdate, 20000)
|
||||||
}
|
}
|
||||||
const timelineFetcher = {
|
const timelineFetcher = {
|
||||||
|
|
Loading…
Reference in a new issue