Added UTC field to gerty modal

This commit is contained in:
Black Coffee
2022-10-20 16:58:28 +01:00
parent f636951d3c
commit ecfd4b3d66
3 changed files with 26 additions and 11 deletions
+6 -2
View File
@@ -14,21 +14,25 @@ async def create_gerty(wallet_id: str, data: Gerty) -> Gerty:
id,
name,
wallet,
utc_offset,
lnbits_wallets,
mempool_endpoint,
exchange,
display_preferences
display_preferences,
refresh_time
)
VALUES (?, ?, ?, ?, ?, ?, ?)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(
gerty_id,
data.name,
data.wallet,
data.utc_offset,
data.lnbits_wallets,
data.mempool_endpoint,
data.exchange,
data.display_preferences,
data.refresh_time,
),
)