fix(payments): update axum router path syntax to v0.7

This commit is contained in:
Ashwin Kumar 2026-04-10 03:09:16 +02:00
parent d46f455c03
commit ff4e23d991

View file

@ -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")