add languages

This commit is contained in:
dni
2026-07-13 09:09:42 +02:00
parent 2941157658
commit c466d85ae7
20 changed files with 656 additions and 34 deletions
+1 -3
View File
@@ -167,9 +167,7 @@ async def api_address(address: str) -> AddressResponse:
return_exceptions=True,
)
if isinstance(balance_res, Exception):
raise HTTPException(
HTTPStatus.SERVICE_UNAVAILABLE, detail=str(balance_res)
)
raise HTTPException(HTTPStatus.SERVICE_UNAVAILABLE, detail=str(balance_res))
history = [] if isinstance(history_res, Exception) else history_res
history_error = str(history_res) if isinstance(history_res, Exception) else None
return AddressResponse(