[mastodon-client] Fix Link pagination for /v1/statuses/:id/reblogged_by

This commit is contained in:
Laura Hausmann 2023-10-07 14:43:52 +02:00
parent 99de127376
commit f800f1806c
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

@ -237,8 +237,11 @@ export class NoteHelpers {
return {
data: users,
maxId: p.map(p => p.id).at(-1),
minId: p.map(p => p.id)[0],
pagination: {
limit: limit,
maxId: p.map(p => p.id).at(-1),
minId: p.map(p => p.id)[0],
}
};
});
}