Added type to Gerty extension Vue, migration and Crud

This commit is contained in:
Black Coffee
2022-11-17 14:13:20 +00:00
parent df56b84ad2
commit 592a52e9a2
4 changed files with 23 additions and 1 deletions
+3 -1
View File
@@ -15,19 +15,21 @@ async def create_gerty(wallet_id: str, data: Gerty) -> Gerty:
name,
wallet,
utc_offset,
type,
lnbits_wallets,
mempool_endpoint,
exchange,
display_preferences,
refresh_time
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
""",
(
gerty_id,
data.name,
data.wallet,
data.utc_offset,
data.type,
data.lnbits_wallets,
data.mempool_endpoint,
data.exchange,