From 0351712ad3555b1c8600f8d4385e8ba8831ab63b Mon Sep 17 00:00:00 2001 From: Mani Chandra Dulam Date: Thu, 30 Nov 2023 15:46:27 +0530 Subject: [PATCH] refactor: revert change in create_merchant_account --- crates/router/src/routes/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/router/src/routes/app.rs b/crates/router/src/routes/app.rs index 0f5c9c945e9b..d73d2ed5c8e6 100644 --- a/crates/router/src/routes/app.rs +++ b/crates/router/src/routes/app.rs @@ -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")