Skip to content

Commit ede0b4f

Browse files
bsayak03Sayak Bhattacharya
andauthored
fix(ci): Fix Spell Check For CI Pull Request (#8857)
Co-authored-by: Sayak Bhattacharya <[email protected]>
1 parent bee4aed commit ede0b4f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

crates/router/src/core/payment_methods/vault.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ pub async fn insert_cvc_using_payment_token(
15411541
payment_token: &String,
15421542
payment_method_data: api_models::payment_methods::PaymentMethodCreateData,
15431543
payment_method: common_enums::PaymentMethod,
1544-
fullfillment_time: i64,
1544+
fulfillment_time: i64,
15451545
encryption_key: &masking::Secret<Vec<u8>>,
15461546
) -> RouterResult<()> {
15471547
let card_cvc = domain::PaymentMethodVaultingData::from(payment_method_data)
@@ -1573,7 +1573,7 @@ pub async fn insert_cvc_using_payment_token(
15731573
.set_key_if_not_exists_with_expiry(
15741574
&key.as_str().into(),
15751575
bytes::Bytes::from(encrypted_payload),
1576-
Some(fullfillment_time),
1576+
Some(fulfillment_time),
15771577
)
15781578
.await
15791579
.change_context(errors::StorageError::KVError)

crates/router/src/core/payments.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3599,9 +3599,9 @@ where
35993599
let decide_wallet_flow = &wallet
36003600
.decide_wallet_flow(state, payment_data, &merchant_connector_account)
36013601
.attach_printable("Failed to decide wallet flow")?
3602-
.async_map(|payment_proce_data| async move {
3602+
.async_map(|payment_price_data| async move {
36033603
wallet
3604-
.decrypt_wallet_token(&payment_proce_data, payment_data)
3604+
.decrypt_wallet_token(&payment_price_data, payment_data)
36053605
.await
36063606
})
36073607
.await
@@ -3629,11 +3629,11 @@ where
36293629
.change_context(errors::ApiErrorResponse::InternalServerError)?;
36303630
let connector_routing_data = match connector_call_type {
36313631
ConnectorCallType::PreDetermined(connector_routing_data) => connector_routing_data,
3632-
ConnectorCallType::Retryable(connector_routing_datas) => connector_routing_datas
3632+
ConnectorCallType::Retryable(connector_routing_data) => connector_routing_data
36333633
.first()
36343634
.ok_or(errors::ApiErrorResponse::InternalServerError)
36353635
.attach_printable("Found no connector routing data in retryable call")?,
3636-
ConnectorCallType::SessionMultiple(_session_connector_datas) => {
3636+
ConnectorCallType::SessionMultiple(_session_connector_data) => {
36373637
return Err(errors::ApiErrorResponse::InternalServerError).attach_printable(
36383638
"SessionMultiple connector call type is invalid in confirm calls",
36393639
);

crates/router/src/types/transformers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,15 +1645,15 @@ impl
16451645
hyperswitch_domain_models::gsm::GatewayStatusMap,
16461646
),
16471647
) -> Self {
1648-
let gsm_db_record_infered_feature = match gsm_db_record.feature_data.get_decision() {
1648+
let gsm_db_record_inferred_feature = match gsm_db_record.feature_data.get_decision() {
16491649
api_enums::GsmDecision::Retry | api_enums::GsmDecision::DoDefault => {
16501650
api_enums::GsmFeature::Retry
16511651
}
16521652
};
16531653

16541654
let gsm_feature = gsm_update_request
16551655
.feature
1656-
.unwrap_or(gsm_db_record_infered_feature);
1656+
.unwrap_or(gsm_db_record_inferred_feature);
16571657

16581658
match gsm_feature {
16591659
api_enums::GsmFeature::Retry => {

0 commit comments

Comments
 (0)