fix old payments endpoint for lndhub (#1698)
* fix old payments endpoint for lndhub * fixup tests
This commit is contained in:
parent
7e0beb508c
commit
d8ccb4dcd8
1 changed files with 2 additions and 0 deletions
|
|
@ -428,6 +428,8 @@ async def get_payments(
|
||||||
|
|
||||||
if not filters:
|
if not filters:
|
||||||
filters = Filters()
|
filters = Filters()
|
||||||
|
filters.direction = "desc"
|
||||||
|
filters.sortby = "time"
|
||||||
|
|
||||||
if limit:
|
if limit:
|
||||||
filters.limit = limit
|
filters.limit = limit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue