Closed tdelabro closed 3 weeks ago
yaah, maybe the function name should change, but create_melt_bolt11_quote
can be abit off the curve, since the function return MeltQuoteBolt11Response
and accept melt_request: &MeltQuoteBolt11Request
Yeah a rename to post_...
would make more sense.
Yeah a rename to
post_...
would make more sense.
I will send PR for this
From crates/cdk-axum/src/lib.rs
isn't it weird that a POST route calls a method named
get_<...>
? It's at least confusing.Couldn't it be created
post_melt_bolt11_quote
orcreate_melt_bolt11_quote