Skip to content

Commit

Permalink
refactor(core): make country aggregator nodes weak for list payment m…
Browse files Browse the repository at this point in the history
…ethods (#4994)
  • Loading branch information
prajjwalkumar17 committed Jun 13, 2024
1 parent fb83661 commit 18493bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/router/src/core/payment_methods/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ fn compile_accepted_countries_for_mca(
agg_nodes.push((
pm_object_country_value_node,
cgraph::Relation::Positive,
cgraph::Strength::Strong,
cgraph::Strength::Weak,
));
}
admin::AcceptedCountries::DisableOnly(countries) => {
Expand All @@ -592,7 +592,7 @@ fn compile_accepted_countries_for_mca(
agg_nodes.push((
pm_object_country_value_node,
cgraph::Relation::Positive,
cgraph::Strength::Strong,
cgraph::Strength::Weak,
));
}
admin::AcceptedCountries::AllAccepted => return Ok(None),
Expand Down Expand Up @@ -628,7 +628,7 @@ fn compile_accepted_countries_for_mca(
agg_nodes.push((
config_country_agg_node,
cgraph::Relation::Positive,
cgraph::Strength::Strong,
cgraph::Strength::Weak,
));
}
}
Expand Down

0 comments on commit 18493bd

Please sign in to comment.