Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

chore: fix typos (#5766)

Shankar Singh C4fc4763035ae
diff --git a/crates/router/src/configs/secrets_transformers.rs b/crates/router/src/configs/secrets_transformers.rs
index c326b59789..56a1cd4511 100644
--- a/crates/router/src/configs/secrets_transformers.rs
+++ b/crates/router/src/configs/secrets_transformers.rs
@@ -142,7 +142,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<Self, SecuredSecret>,
secret_management_client: &dyn SecretManagementInterface,
@@ -343,7 +343,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 93082aeec3..79be0bf21d 100644
--- a/crates/router/src/configs/settings.rs
+++ b/crates/router/src/configs/settings.rs
@@ -94,7 +94,7 @@ pub struct Settings<S: SecretState> {
#[cfg(feature = "payouts")]
pub payouts: Payouts,
pub payout_method_filters: ConnectorFilters,
- pub applepay_decrypt_keys: SecretStateContainer<ApplePayDecryptConifg, S>,
+ pub applepay_decrypt_keys: SecretStateContainer<ApplePayDecryptConfig, S>,
pub multiple_api_version_supported_connectors: MultipleApiVersionSupportedConnectors,
pub applepay_merchant_configs: SecretStateContainer<ApplepayMerchantConfigs, S>,
pub lock_settings: LockSettings,
@@ -687,7 +687,7 @@ pub struct WebhookSourceVerificationCall {
}
#[derive(Debug, Deserialize, Clone, Default)]
-pub struct ApplePayDecryptConifg {
+pub struct ApplePayDecryptConfig {
pub apple_pay_ppc: Secret<String>,
pub apple_pay_ppc_key: Secret<String>,
pub apple_pay_merchant_cert: Secret<String>,