mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-28 12:56:16 +02:00
fix: mypy
This commit is contained in:
@@ -584,10 +584,7 @@ async def update_admin_settings(data: EditableSetings):
|
||||
|
||||
|
||||
async def update_super_user(super_user: str):
|
||||
await db.execute(
|
||||
"UPDATE settings SET super_user = ?",
|
||||
(super_user),
|
||||
)
|
||||
await db.execute("UPDATE settings SET super_user = ?", (super_user,))
|
||||
return await get_super_settings()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user