Skip to content

Commit

Permalink
refactor: revert change in create_merchant_account
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsMani committed Nov 30, 2023
1 parent 408c731 commit 0351712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/routes/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ impl MerchantAccount {
pub fn server(state: AppState) -> Scope {
web::scope("/accounts")
.app_data(web::Data::new(state))
.service(web::resource("").route(web::post().to(user_merchant_account_create)))
.service(web::resource("").route(web::post().to(merchant_account_create)))
.service(web::resource("/list").route(web::get().to(merchant_account_list)))
.service(
web::resource("/{id}/kv")
Expand Down

0 comments on commit 0351712

Please sign in to comment.