Skip to content

Commit

Permalink
fix: move profile level connector list endpoint to separate scope (#5814
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hrithikesh026 authored Sep 5, 2024
1 parent 4d49903 commit 9dd1511
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/router/src/routes/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1272,10 +1272,6 @@ impl MerchantConnectorAccount {
.route(web::post().to(connector_create))
.route(web::get().to(payment_connector_list)),
)
.service(
web::resource("/{merchant_id}/profile/connectors")
.route(web::get().to(payment_connector_list_profile)),
)
.service(
web::resource("/{merchant_id}/connectors/{merchant_connector_id}")
.route(web::get().to(connector_retrieve))
Expand Down Expand Up @@ -1638,6 +1634,9 @@ impl BusinessProfileNew {
.service(
web::resource("").route(web::get().to(business_profiles_list_at_profile_level)),
)
.service(
web::resource("/connectors").route(web::get().to(payment_connector_list_profile)),
)
}
}

Expand Down

0 comments on commit 9dd1511

Please sign in to comment.