From 84e6b3a9a85da8a9532ae8ea5e741d6f62e1ab5b Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 29 Jan 2026 14:14:34 +0200 Subject: [PATCH] fix: clear cache --- lnbits/core/crud/users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lnbits/core/crud/users.py b/lnbits/core/crud/users.py index a05064a12..cb4d5c52c 100644 --- a/lnbits/core/crud/users.py +++ b/lnbits/core/crud/users.py @@ -61,6 +61,7 @@ async def delete_account(user_id: str, conn: Connection | None = None) -> None: "DELETE from accounts WHERE id = :user", {"user": user_id}, ) + await clear_user_id_cache(user_id) async def get_accounts(