Skip to content

Commit

Permalink
fix deprecated models
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Nov 17, 2023
1 parent 3440949 commit 49e845e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cashu/mint/router_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
PostMeltRequest_deprecated,
PostMeltResponse_deprecated,
PostMintQuoteRequest,
PostMintRequest,
PostMintResponse,
PostMintRequest_deprecated,
PostMintResponse_deprecated,
PostSplitRequest_Deprecated,
PostSplitResponse_Deprecated,
Expand Down Expand Up @@ -149,14 +148,14 @@ async def request_mint_deprecated(amount: int = 0) -> GetMintResponse_deprecated
"/mint",
name="Mint tokens",
summary="Mint tokens in exchange for a Bitcoin payment that the user has made",
response_model=PostMintResponse,
response_model=PostMintResponse_deprecated,
response_description=(
"A list of blinded signatures that can be used to create proofs."
),
deprecated=True,
)
async def mint_deprecated(
payload: PostMintRequest,
payload: PostMintRequest_deprecated,
hash: Optional[str] = None,
payment_hash: Optional[str] = None,
) -> PostMintResponse_deprecated:
Expand Down

0 comments on commit 49e845e

Please sign in to comment.