feat: api health check endpoint
This commit is contained in:
parent
0df81e5aaf
commit
b6f0d7b769
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user