mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-25 15:10:41 +01:00
payments are not deleted oif we delete a wallets, so to get a accurate total representation of the lnbits balance we need to create the balances view based on the wallets table, not payments, else deleted balances will still show up. 2nd, delete_unused_wallets and delete_accounts was never working if because they never got an updated_at time, so i just check if its null else i check to timedelta on created_at |
||
---|---|---|
.. | ||
sso | ||
templates | ||
views | ||
__init__.py | ||
crud.py | ||
db.py | ||
helpers.py | ||
migrations.py | ||
models.py | ||
services.py | ||
tasks.py |