small changes
This commit is contained in:
parent
55324aea13
commit
736c1ffb8e
2 changed files with 7 additions and 7 deletions
|
|
@ -274,10 +274,10 @@ export const fetchStatusHistory = ({ status, credentials }) =>
|
|||
promisedRequest({
|
||||
url: MASTODON_STATUS_HISTORY_URL(status.id),
|
||||
credentials,
|
||||
}).then(({ data }) => {
|
||||
}).then(({ data, ...rest }) => {
|
||||
return [...data].reverse().map((item) => {
|
||||
item.originalStatus = status
|
||||
return parseStatus(item)
|
||||
return { ...rest, data: parseStatus(item) }
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -36,11 +36,11 @@ const fetchAndUpdate = ({
|
|||
timeline = 'friends',
|
||||
older = false,
|
||||
showImmediately = false,
|
||||
userId = false,
|
||||
listId = false,
|
||||
statusId = false,
|
||||
bookmarkFolderId = false,
|
||||
tag = false,
|
||||
userId,
|
||||
listId,
|
||||
statusId,
|
||||
bookmarkFolderId,
|
||||
tag,
|
||||
maxId,
|
||||
sinceId,
|
||||
}) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue