feat: api health check endpoint

This commit is contained in:
callebtc 2022-12-25 18:49:51 +01:00
parent 0df81e5aaf
commit b6f0d7b769

View File

@ -71,6 +71,11 @@ from ..services import (
from ..tasks import api_invoice_listeners
@core_app.get("/api/v1/health", status_code=HTTPStatus.OK)
async def health():
return
@core_app.get("/api/v1/wallet")
async def api_wallet(wallet: WalletTypeInfo = Depends(get_key_type)):
if wallet.wallet_type == 0: