Skip to content

Commit

Permalink
fix(euclid): remove business_profile routing feature flag (#5431)
Browse files Browse the repository at this point in the history
  • Loading branch information
prajjwalkumar17 authored Jul 24, 2024
1 parent 064d54e commit bd0f66c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/router/src/core/payment_methods/cards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2330,7 +2330,6 @@ pub async fn list_payment_methods(

let mut response: Vec<ResponsePaymentMethodIntermediate> = vec![];
// Key creation for storing PM_FILTER_CGRAPH
#[cfg(feature = "business_profile_routing")]
let key = {
let profile_id = profile_id
.clone()
Expand All @@ -2344,9 +2343,6 @@ pub async fn list_payment_methods(
)
};

#[cfg(not(feature = "business_profile_routing"))]
let key = { format!("pm_filters_cgraph_{}", &merchant_account.merchant_id) };

if let Some(graph) = get_merchant_pm_filter_graph(&state, &key).await {
// Derivation of PM_FILTER_CGRAPH from MokaCache successful
for mca in &filtered_mcas {
Expand Down

0 comments on commit bd0f66c

Please sign in to comment.