mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-05 11:18:36 +02:00
chore: fix unused endpoint path
This commit is contained in:
@@ -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))
|
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)):
|
async def check_spendable_coins(payload: CheckPayload, cashu_id: str = Query(None)):
|
||||||
return await check_spendable(payload.proofs, cashu_id)
|
return await check_spendable(payload.proofs, cashu_id)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user