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