From 2c7d8fe25838f20d768c9fae240209acfd2fba0c Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Sat, 8 Oct 2022 11:51:07 +0300 Subject: [PATCH] chore: fix unused endpoint path --- lnbits/extensions/cashu/views_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/cashu/views_api.py b/lnbits/extensions/cashu/views_api.py index 3d221a17b..e24109093 100644 --- a/lnbits/extensions/cashu/views_api.py +++ b/lnbits/extensions/cashu/views_api.py @@ -324,7 +324,7 @@ async def melt_coins(payload: MeltPayload, cashu_id: str = Query(None)): raise HTTPException(status_code=HTTPStatus.INTERNAL_SERVER_ERROR, detail=str(e)) -@cashu_ext.post("/check") +@cashu_ext.post("/api/v1/cashu/{cashu_id}/check") async def check_spendable_coins(payload: CheckPayload, cashu_id: str = Query(None)): return await check_spendable(payload.proofs, cashu_id)