Skip to content

Commit

Permalink
fix: v1 mint-quote api in router
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Jan 9, 2024
1 parent a518274 commit d7ebf87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cashu/mint/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async def mint_quote(payload: PostMintQuoteRequest) -> PostMintQuoteResponse:


@router.get(
"/v1/mint/quote/{quote}",
"/v1/mint/quote/bolt11/{quote}",
summary="Get mint quote",
response_model=PostMintQuoteResponse,
response_description="Get an existing mint quote to check its status.",
Expand All @@ -199,7 +199,7 @@ async def get_mint_quote(quote: str) -> PostMintQuoteResponse:
"""
Get mint quote state.
"""
logger.trace(f"> POST /v1/mint/quote/{quote}")
logger.trace(f"> GET /v1/mint/quote/bolt11/{quote}")
mint_quote = await ledger.get_mint_quote(quote)
resp = PostMintQuoteResponse(
quote=mint_quote.quote,
Expand Down

0 comments on commit d7ebf87

Please sign in to comment.