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({ promisedRequest({
url: MASTODON_STATUS_HISTORY_URL(status.id), url: MASTODON_STATUS_HISTORY_URL(status.id),
credentials, credentials,
}).then(({ data }) => { }).then(({ data, ...rest }) => {
return [...data].reverse().map((item) => { return [...data].reverse().map((item) => {
item.originalStatus = status item.originalStatus = status
return parseStatus(item) return { ...rest, data: parseStatus(item) }
}) })
}) })

View file

@ -36,11 +36,11 @@ const fetchAndUpdate = ({
timeline = 'friends', timeline = 'friends',
older = false, older = false,
showImmediately = false, showImmediately = false,
userId = false, userId,
listId = false, listId,
statusId = false, statusId,
bookmarkFolderId = false, bookmarkFolderId,
tag = false, tag,
maxId, maxId,
sinceId, sinceId,
}) => { }) => {