more user profile work
This commit is contained in:
parent
1f3b9a3905
commit
3274a27f9e
3 changed files with 13 additions and 11 deletions
|
|
@ -34,7 +34,8 @@ const fetchAndUpdate = ({
|
|||
const loggedIn = useUsersStore().loggedIn
|
||||
|
||||
const args = { timeline: timeline.name, credentials }
|
||||
args[ARGUMENT_MAP[timeline.name]] = argument
|
||||
const mainArg = ARGUMENT_MAP[timeline.name]
|
||||
if (mainArg) args[mainArg] = argument
|
||||
|
||||
if (older) {
|
||||
// When minId = 0 we need to fetch without maxId param
|
||||
|
|
@ -70,8 +71,6 @@ const fetchAndUpdate = ({
|
|||
.addNewStatuses({ statuses, timestamp })
|
||||
.filter(Boolean)
|
||||
|
||||
console.log(timeline.name, argument, showImmediately, processed.length)
|
||||
|
||||
useTimelinesStore().addStatusesToTimeline(
|
||||
timeline.name,
|
||||
argument,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue