small changes

This commit is contained in:
Henry Jameson 2026-06-22 15:25:37 +03:00
commit 736c1ffb8e
2 changed files with 7 additions and 7 deletions

View file

@ -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) }
})
})

View file

@ -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,
}) => {