Skip to content

Commit

Permalink
feat(core): [CARD TESTING GUARD] Resolved PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Debarshi Gupta authored and Debarshi Gupta committed Feb 3, 2025
1 parent ceb09d1 commit f4ff524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/router/src/core/payments/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1506,7 +1506,7 @@ pub async fn validate_card_ip_blocking_for_business_profile(

let unsuccessful_payment_threshold = card_testing_guard_config.card_ip_blocking_threshold;

Ok(validate_blocking_threshold(state, unsuccessful_payment_threshold, cache_key).await?)
validate_blocking_threshold(state, unsuccessful_payment_threshold, cache_key).await
}

pub async fn validate_guest_user_card_blocking_for_business_profile(
Expand Down Expand Up @@ -1546,7 +1546,7 @@ pub async fn validate_customer_id_blocking_for_business_profile(

let unsuccessful_payment_threshold = card_testing_guard_config.customer_id_blocking_threshold;

Ok(validate_blocking_threshold(state, unsuccessful_payment_threshold, cache_key).await?)
validate_blocking_threshold(state, unsuccessful_payment_threshold, cache_key).await
}

pub async fn validate_blocking_threshold(
Expand Down

0 comments on commit f4ff524

Please sign in to comment.