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

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