From 28ffc4646f7cf0d7e586d3c4b77621bce9839169 Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Mon, 4 Dec 2023 19:35:02 +0100 Subject: [PATCH] chore: rename endpoint /split to /swap --- moksha-mint/src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moksha-mint/src/server.rs b/moksha-mint/src/server.rs index 57d713df..2e5335f9 100644 --- a/moksha-mint/src/server.rs +++ b/moksha-mint/src/server.rs @@ -88,7 +88,7 @@ fn app(mint: Mint, serve_wallet_path: Option, prefix: Option) - .route("/v1/mint/bolt11", post(post_mint_bolt11)) .route("/v1/melt/quote/bolt11", post(post_melt_quote_bolt11)) .route("/v1/melt/bolt11", post(post_melt_bolt11)) - .route("/v1/split", post(post_split)) + .route("/v1/swap", post(post_split)) .route("/v1/info", get(get_legacy_info)); let prefix = prefix.unwrap_or_else(|| "".to_owned());