Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: fix typos #5766

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/router/src/configs/secrets_transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self, SecuredSecret>,
secret_management_client: &dyn SecretManagementInterface,
Expand Down Expand Up @@ -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,
)
Expand Down
4 changes: 2 additions & 2 deletions crates/router/src/configs/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -684,7 +684,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>,
Expand Down
Loading