fix(payments): update axum router path syntax to v0.7
This commit is contained in:
parent
d46f455c03
commit
ff4e23d991
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ async fn main() {
|
|||
let app = Router::new()
|
||||
.route("/api/payments/create-order", post(create_order))
|
||||
.route("/api/payments/verify", post(verify_payment))
|
||||
.route("/api/payments/:id/status", get(get_payment_status))
|
||||
.route("/api/payments/{id}/status", get(get_payment_status))
|
||||
.with_state(state);
|
||||
|
||||
let port: u16 = std::env::var("PORT")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue