From a77fd666d3b4f1ccd495f3785ed9133daf4dfdef Mon Sep 17 00:00:00 2001 From: Narayan Bhat Date: Wed, 18 Oct 2023 12:49:30 +0530 Subject: [PATCH] chore: cargo clippy --- crates/router/src/core/admin.rs | 3 +-- crates/router/src/core/verification/utils.rs | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/router/src/core/admin.rs b/crates/router/src/core/admin.rs index 867f2a5a3145..9cd90699ac17 100644 --- a/crates/router/src/core/admin.rs +++ b/crates/router/src/core/admin.rs @@ -654,8 +654,7 @@ pub async fn create_payment_connector( )) .unwrap_or(format!( "{}_{}", - req.connector_name.to_string(), - business_profile.profile_name + req.connector_name, business_profile.profile_name )); let mut vec = Vec::new(); diff --git a/crates/router/src/core/verification/utils.rs b/crates/router/src/core/verification/utils.rs index 056cc8c2e54f..433430507fb1 100644 --- a/crates/router/src/core/verification/utils.rs +++ b/crates/router/src/core/verification/utils.rs @@ -59,6 +59,7 @@ pub async fn check_existence_and_add_domain_to_db( connector_webhook_details: None, applepay_verified_domains: Some(already_verified_domains.clone()), pm_auth_config: None, + connector_label: None, }; state .store