Added some error checking

This commit is contained in:
ben
2022-09-26 19:30:40 +01:00
parent 938024fea2
commit c6cc6d34e1
4 changed files with 67 additions and 29 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class Gerty(BaseModel):
name: str
wallet: str
lnbits_wallets: str = Query(None) # Wallets to keep an eye on, {"wallet-id": "wallet-read-key, etc"}
mempool_endpoint: str = Query("https://mempool.space") # Mempool endpoint to use
mempool_endpoint: str = Query(None) # Mempool endpoint to use
sats_quote: bool = Query(False) # Fetch Satoshi quotes
exchange: str = Query(None) # BTC <-> Fiat exchange rate to pull ie "USD", in 0.0001 and sats
onchain_stats: bool = Query(False) # Onchain stats