fix order of next/prev header links (#564)
This commit is contained in:
parent
ac54c7ff81
commit
7331591432
|
@ -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 New Issue