Add params to bound fetcher

This commit is contained in:
smitten 2023-08-07 08:48:42 -04:00
parent 60973335a5
commit 031cb40904
Signed by: smitten
GPG key ID: 1DDD22F13552A07A

View file

@ -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 = {