mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-24 15:16:07 +09:00
[mastodon-client] Fix link pagination middleware oversight
This commit is contained in:
parent
a0adea70f5
commit
3204bd9d18
@ -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 New Issue
Block a user