Skip to content

Commit

Permalink
chore: rename endpoint /split to /swap
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Dec 4, 2023
1 parent 24c443d commit 28ffc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moksha-mint/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn app(mint: Mint, serve_wallet_path: Option<PathBuf>, prefix: Option<String>) -
.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());
Expand Down

0 comments on commit 28ffc46

Please sign in to comment.