fix postgres type translation bug and add some logs.
This commit is contained in:
@@ -30,7 +30,9 @@ class LNbitsWallet(Wallet):
|
||||
async with httpx.AsyncClient() as client:
|
||||
try:
|
||||
r = await client.get(
|
||||
url=f"{self.endpoint}/api/v1/wallet", headers=self.key
|
||||
url=f"{self.endpoint}/api/v1/wallet",
|
||||
headers=self.key,
|
||||
timeout=15,
|
||||
)
|
||||
except Exception as exc:
|
||||
return StatusResponse(
|
||||
|
||||
Reference in New Issue
Block a user