Skip to content

Commit

Permalink
refactor(euclid): make the disabled node's relation as negative (#5701)
Browse files Browse the repository at this point in the history
  • Loading branch information
prajjwalkumar17 authored Aug 26, 2024
1 parent 32db5dd commit e904d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/router/src/core/payment_methods/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ fn compile_accepted_countries_for_mca(
.map_err(KgraphError::GraphConstructionError)?;
agg_nodes.push((
pm_object_country_value_node,
cgraph::Relation::Positive,
cgraph::Relation::Negative,
cgraph::Strength::Weak,
));
}
Expand Down Expand Up @@ -712,7 +712,7 @@ fn compile_accepted_currency_for_mca(
.map_err(KgraphError::GraphConstructionError)?;
agg_nodes.push((
pm_object_currency_value_node,
cgraph::Relation::Positive,
cgraph::Relation::Negative,
cgraph::Strength::Weak,
));
}
Expand Down

0 comments on commit e904d0f

Please sign in to comment.