mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 20:36:16 +02:00
fix old payments endpoint for lndhub (#1698)
* fix old payments endpoint for lndhub * fixup tests
This commit is contained in:
@@ -428,6 +428,8 @@ async def get_payments(
|
||||
|
||||
if not filters:
|
||||
filters = Filters()
|
||||
filters.direction = "desc"
|
||||
filters.sortby = "time"
|
||||
|
||||
if limit:
|
||||
filters.limit = limit
|
||||
|
Reference in New Issue
Block a user