mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-21 06:06:11 +02:00
fix purge
This commit is contained in:
@@ -176,7 +176,7 @@ async def purge_addresses(domain_id: str):
|
|||||||
now = datetime.now().timestamp()
|
now = datetime.now().timestamp()
|
||||||
|
|
||||||
for row in rows:
|
for row in rows:
|
||||||
r = Addresses(**row)._asdict()
|
r = Addresses(**row).dict()
|
||||||
|
|
||||||
start = datetime.fromtimestamp(r["time"])
|
start = datetime.fromtimestamp(r["time"])
|
||||||
paid = r["paid"]
|
paid = r["paid"]
|
||||||
|
Reference in New Issue
Block a user