Feat: Adds wallet icon/color select (#2917)

This commit is contained in:
Arc
2025-02-04 15:03:35 +02:00
committed by GitHub
parent dd9b217fdf
commit 960c58db87
10 changed files with 205 additions and 63 deletions
+1 -1
View File
@@ -161,4 +161,4 @@ async def get_wallet_for_key(
async def get_total_balance(conn: Optional[Connection] = None):
result = await (conn or db).execute("SELECT SUM(balance) as balance FROM balances")
row = result.mappings().first()
return row.get("balance", 0)
return row.get("balance", 0) or 0