mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
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:
committed by
GitHub
parent
bee4aed40c
commit
ede0b4f74e
@ -1541,7 +1541,7 @@ pub async fn insert_cvc_using_payment_token(
|
||||
payment_token: &String,
|
||||
payment_method_data: api_models::payment_methods::PaymentMethodCreateData,
|
||||
payment_method: common_enums::PaymentMethod,
|
||||
fullfillment_time: i64,
|
||||
fulfillment_time: i64,
|
||||
encryption_key: &masking::Secret<Vec<u8>>,
|
||||
) -> RouterResult<()> {
|
||||
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(
|
||||
&key.as_str().into(),
|
||||
bytes::Bytes::from(encrypted_payload),
|
||||
Some(fullfillment_time),
|
||||
Some(fulfillment_time),
|
||||
)
|
||||
.await
|
||||
.change_context(errors::StorageError::KVError)
|
||||
|
||||
@ -3599,9 +3599,9 @@ where
|
||||
let decide_wallet_flow = &wallet
|
||||
.decide_wallet_flow(state, payment_data, &merchant_connector_account)
|
||||
.attach_printable("Failed to decide wallet flow")?
|
||||
.async_map(|payment_proce_data| async move {
|
||||
.async_map(|payment_price_data| async move {
|
||||
wallet
|
||||
.decrypt_wallet_token(&payment_proce_data, payment_data)
|
||||
.decrypt_wallet_token(&payment_price_data, payment_data)
|
||||
.await
|
||||
})
|
||||
.await
|
||||
@ -3629,11 +3629,11 @@ where
|
||||
.change_context(errors::ApiErrorResponse::InternalServerError)?;
|
||||
let connector_routing_data = match connector_call_type {
|
||||
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()
|
||||
.ok_or(errors::ApiErrorResponse::InternalServerError)
|
||||
.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(
|
||||
"SessionMultiple connector call type is invalid in confirm calls",
|
||||
);
|
||||
|
||||
@ -1645,7 +1645,7 @@ impl
|
||||
hyperswitch_domain_models::gsm::GatewayStatusMap,
|
||||
),
|
||||
) -> 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::GsmFeature::Retry
|
||||
}
|
||||
@ -1653,7 +1653,7 @@ impl
|
||||
|
||||
let gsm_feature = gsm_update_request
|
||||
.feature
|
||||
.unwrap_or(gsm_db_record_infered_feature);
|
||||
.unwrap_or(gsm_db_record_inferred_feature);
|
||||
|
||||
match gsm_feature {
|
||||
api_enums::GsmFeature::Retry => {
|
||||
|
||||
Reference in New Issue
Block a user