fix old payments endpoint for lndhub (#1698)

* fix old payments endpoint for lndhub

* fixup tests
This commit is contained in:
dni ⚡ 2023-05-10 11:47:04 +02:00 committed by GitHub
parent 7e0beb508c
commit d8ccb4dcd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -428,6 +428,8 @@ async def get_payments(
if not filters:
filters = Filters()
filters.direction = "desc"
filters.sortby = "time"
if limit:
filters.limit = limit