diff --git a/crates/cdk-axum/src/lib.rs b/crates/cdk-axum/src/lib.rs index 6b5ffbd34..095914403 100644 --- a/crates/cdk-axum/src/lib.rs +++ b/crates/cdk-axum/src/lib.rs @@ -117,7 +117,7 @@ pub struct MintState { get_keyset_pubkeys, get_keysets, get_mint_info, - get_mint_bolt11_quote, + post_mint_bolt11_quote, get_check_mint_bolt11_quote, post_mint_bolt11, post_melt_bolt11_quote, @@ -147,7 +147,7 @@ pub async fn create_mint_router(mint: Arc, cache_ttl: u64, cache_tti: u64) .route("/keysets", get(get_keysets)) .route("/keys/:keyset_id", get(get_keyset_pubkeys)) .route("/swap", post(cache_post_swap)) - .route("/mint/quote/bolt11", post(get_mint_bolt11_quote)) + .route("/mint/quote/bolt11", post(post_mint_bolt11_quote)) .route( "/mint/quote/bolt11/:quote_id", get(get_check_mint_bolt11_quote), diff --git a/crates/cdk-axum/src/router_handlers.rs b/crates/cdk-axum/src/router_handlers.rs index 05cdac8db..48253cdfa 100644 --- a/crates/cdk-axum/src/router_handlers.rs +++ b/crates/cdk-axum/src/router_handlers.rs @@ -130,7 +130,7 @@ pub async fn get_keysets(State(state): State) -> Result, Json(payload): Json, ) -> Result, Response> {