mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-20 21:44:13 +02:00
fix purge
This commit is contained in:
parent
b9bc36fabf
commit
63546036bc
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user