fix postgres type translation bug and add some logs.

This commit is contained in:
fiatjaf
2021-08-01 10:30:27 -03:00
parent 83137ba0a0
commit e0496fb244
6 changed files with 37 additions and 31 deletions
+3 -1
View File
@@ -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(