mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-07 03:18:10 +02:00
added thi one also DNI
remove it if not needed
This commit is contained in:
parent
0993b8dbad
commit
66d180fd97
@ -349,7 +349,7 @@ class Database(Compat):
|
||||
await conn.insert(table_name, model)
|
||||
|
||||
async def update(
|
||||
self, table_name: str, model: BaseModel, where: str = "id = :id"
|
||||
self, table_name: str, model: BaseModel, where: str = "WHERE id = :id"
|
||||
) -> None:
|
||||
async with self.connect() as conn:
|
||||
await conn.update(table_name, model, where)
|
||||
|
Loading…
x
Reference in New Issue
Block a user