fix(ci): Fix Spell Check For CI Pull Request (#8857)

Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local>
This commit is contained in:
Sayak Bhattacharya
2025-08-08 18:18:29 +05:30
committed by GitHub
parent bee4aed40c
commit ede0b4f74e
3 changed files with 8 additions and 8 deletions

View File

@ -1541,7 +1541,7 @@ pub async fn insert_cvc_using_payment_token(
payment_token: &String, payment_token: &String,
payment_method_data: api_models::payment_methods::PaymentMethodCreateData, payment_method_data: api_models::payment_methods::PaymentMethodCreateData,
payment_method: common_enums::PaymentMethod, payment_method: common_enums::PaymentMethod,
fullfillment_time: i64, fulfillment_time: i64,
encryption_key: &masking::Secret<Vec<u8>>, encryption_key: &masking::Secret<Vec<u8>>,
) -> RouterResult<()> { ) -> RouterResult<()> {
let card_cvc = domain::PaymentMethodVaultingData::from(payment_method_data) let card_cvc = domain::PaymentMethodVaultingData::from(payment_method_data)
@ -1573,7 +1573,7 @@ pub async fn insert_cvc_using_payment_token(
.set_key_if_not_exists_with_expiry( .set_key_if_not_exists_with_expiry(
&key.as_str().into(), &key.as_str().into(),
bytes::Bytes::from(encrypted_payload), bytes::Bytes::from(encrypted_payload),
Some(fullfillment_time), Some(fulfillment_time),
) )
.await .await
.change_context(errors::StorageError::KVError) .change_context(errors::StorageError::KVError)

View File

@ -3599,9 +3599,9 @@ where
let decide_wallet_flow = &wallet let decide_wallet_flow = &wallet
.decide_wallet_flow(state, payment_data, &merchant_connector_account) .decide_wallet_flow(state, payment_data, &merchant_connector_account)
.attach_printable("Failed to decide wallet flow")? .attach_printable("Failed to decide wallet flow")?
.async_map(|payment_proce_data| async move { .async_map(|payment_price_data| async move {
wallet wallet
.decrypt_wallet_token(&payment_proce_data, payment_data) .decrypt_wallet_token(&payment_price_data, payment_data)
.await .await
}) })
.await .await
@ -3629,11 +3629,11 @@ where
.change_context(errors::ApiErrorResponse::InternalServerError)?; .change_context(errors::ApiErrorResponse::InternalServerError)?;
let connector_routing_data = match connector_call_type { let connector_routing_data = match connector_call_type {
ConnectorCallType::PreDetermined(connector_routing_data) => connector_routing_data, ConnectorCallType::PreDetermined(connector_routing_data) => connector_routing_data,
ConnectorCallType::Retryable(connector_routing_datas) => connector_routing_datas ConnectorCallType::Retryable(connector_routing_data) => connector_routing_data
.first() .first()
.ok_or(errors::ApiErrorResponse::InternalServerError) .ok_or(errors::ApiErrorResponse::InternalServerError)
.attach_printable("Found no connector routing data in retryable call")?, .attach_printable("Found no connector routing data in retryable call")?,
ConnectorCallType::SessionMultiple(_session_connector_datas) => { ConnectorCallType::SessionMultiple(_session_connector_data) => {
return Err(errors::ApiErrorResponse::InternalServerError).attach_printable( return Err(errors::ApiErrorResponse::InternalServerError).attach_printable(
"SessionMultiple connector call type is invalid in confirm calls", "SessionMultiple connector call type is invalid in confirm calls",
); );

View File

@ -1645,7 +1645,7 @@ impl
hyperswitch_domain_models::gsm::GatewayStatusMap, hyperswitch_domain_models::gsm::GatewayStatusMap,
), ),
) -> Self { ) -> Self {
let gsm_db_record_infered_feature = match gsm_db_record.feature_data.get_decision() { let gsm_db_record_inferred_feature = match gsm_db_record.feature_data.get_decision() {
api_enums::GsmDecision::Retry | api_enums::GsmDecision::DoDefault => { api_enums::GsmDecision::Retry | api_enums::GsmDecision::DoDefault => {
api_enums::GsmFeature::Retry api_enums::GsmFeature::Retry
} }
@ -1653,7 +1653,7 @@ impl
let gsm_feature = gsm_update_request let gsm_feature = gsm_update_request
.feature .feature
.unwrap_or(gsm_db_record_infered_feature); .unwrap_or(gsm_db_record_inferred_feature);
match gsm_feature { match gsm_feature {
api_enums::GsmFeature::Retry => { api_enums::GsmFeature::Retry => {