From 6d80fd2e421b8d9443b08409711bc6f77605d660 Mon Sep 17 00:00:00 2001 From: Shankar Singh C Date: Mon, 2 Sep 2024 12:45:04 +0530 Subject: [PATCH] fix(CI): fix spell check for CI pull request --- crates/router/src/configs/secrets_transformers.rs | 4 ++-- crates/router/src/configs/settings.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/router/src/configs/secrets_transformers.rs b/crates/router/src/configs/secrets_transformers.rs index 312a475b8ba0..c7d08d6f5ac2 100644 --- a/crates/router/src/configs/secrets_transformers.rs +++ b/crates/router/src/configs/secrets_transformers.rs @@ -137,7 +137,7 @@ impl SecretsHandler for settings::ApiKeys { } #[async_trait::async_trait] -impl SecretsHandler for settings::ApplePayDecryptConifg { +impl SecretsHandler for settings::ApplePayDecryptConfig { async fn convert_to_raw_secret( value: SecretStateContainer, secret_management_client: &dyn SecretManagementInterface, @@ -338,7 +338,7 @@ pub(crate) async fn fetch_raw_secrets( .expect("Failed to decrypt connector_onboarding configs"); #[allow(clippy::expect_used)] - let applepay_decrypt_keys = settings::ApplePayDecryptConifg::convert_to_raw_secret( + let applepay_decrypt_keys = settings::ApplePayDecryptConfig::convert_to_raw_secret( conf.applepay_decrypt_keys, secret_management_client, ) diff --git a/crates/router/src/configs/settings.rs b/crates/router/src/configs/settings.rs index 312b7711f30d..2ed72320194b 100644 --- a/crates/router/src/configs/settings.rs +++ b/crates/router/src/configs/settings.rs @@ -94,7 +94,7 @@ pub struct Settings { #[cfg(feature = "payouts")] pub payouts: Payouts, pub payout_method_filters: ConnectorFilters, - pub applepay_decrypt_keys: SecretStateContainer, + pub applepay_decrypt_keys: SecretStateContainer, pub multiple_api_version_supported_connectors: MultipleApiVersionSupportedConnectors, pub applepay_merchant_configs: SecretStateContainer, pub lock_settings: LockSettings, @@ -684,7 +684,7 @@ pub struct WebhookSourceVerificationCall { } #[derive(Debug, Deserialize, Clone, Default)] -pub struct ApplePayDecryptConifg { +pub struct ApplePayDecryptConfig { pub apple_pay_ppc: Secret, pub apple_pay_ppc_key: Secret, pub apple_pay_merchant_cert: Secret,