mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 00:30:59 +00:00
fix order of next/prev header links (#564)
This commit is contained in:
parent
ac54c7ff81
commit
7331591432
1 changed files with 1 additions and 1 deletions
|
@ -76,8 +76,8 @@ class PaginatingApiResponse(ApiResponse[list[TI]]):
|
|||
parts = [
|
||||
entry
|
||||
for entry in [
|
||||
self.get_part(0, "min_id", "prev"),
|
||||
self.get_part(-1, "max_id", "next"),
|
||||
self.get_part(0, "min_id", "prev"),
|
||||
]
|
||||
if entry
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue