mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
[mastodon-client] Fix link pagination middleware oversight
This commit is contained in:
parent
a0adea70f5
commit
3204bd9d18
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ export async function PaginationMiddleware(ctx: MastoContext, next: () => Promis
|
|||
link.push(l);
|
||||
}
|
||||
if (ctx.pagination.minId) {
|
||||
const l = `<${config.url}/api${ctx.path}?limit=${limit}&min_id=${ctx.pagination.maxId}>; rel="prev"`;
|
||||
const l = `<${config.url}/api${ctx.path}?limit=${limit}&min_id=${ctx.pagination.minId}>; rel="prev"`;
|
||||
link.push(l);
|
||||
}
|
||||
if (link.length > 0) {
|
||||
|
|
Loading…
Reference in a new issue