Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(openapi): Revert Standardise API naming scheme for V2 Dashboard Changes (#6712)

Anurag Thakurb097d7f5a984
diff --git a/crates/router/src/routes/app.rs b/crates/router/src/routes/app.rs
index bb0c547d7f..7a8571479f 100644
--- a/crates/router/src/routes/app.rs
+++ b/crates/router/src/routes/app.rs
@@ -2003,7 +2003,7 @@ impl User {
)
.service(web::resource("/verify_email").route(web::post().to(user::verify_email)))
.service(
- web::resource("/v2/verify-email").route(web::post().to(user::verify_email)),
+ web::resource("/v2/verify_email").route(web::post().to(user::verify_email)),
)
.service(
web::resource("/verify_email_request")
@@ -2057,7 +2057,7 @@ impl User {
.route(web::post().to(user_role::accept_invitations_v2)),
)
.service(
- web::resource("/pre-auth").route(
+ web::resource("/pre_auth").route(
web::post().to(user_role::accept_invitations_pre_auth),
),
),