Skip to content

Commit

Permalink
Merge branch 'main' into user-roles
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsMani authored Nov 30, 2023
2 parents 7351df0 + c6cb527 commit 25d20c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/router/src/core/payments/routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,10 @@ pub async fn refresh_kgraph_cache(
.await
.change_context(errors::RoutingError::KgraphCacheRefreshFailed)?;

merchant_connector_accounts
.retain(|mca| mca.connector_type != storage_enums::ConnectorType::PaymentVas);
merchant_connector_accounts.retain(|mca| {
mca.connector_type != storage_enums::ConnectorType::PaymentVas
&& mca.connector_type != storage_enums::ConnectorType::PaymentMethodAuth
});

#[cfg(feature = "business_profile_routing")]
let merchant_connector_accounts = payments_oss::helpers::filter_mca_based_on_business_profile(
Expand Down

0 comments on commit 25d20c2

Please sign in to comment.