mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
refactor(euclid): make the disabled node's relation as negative (#5701)
This commit is contained in:
@ -590,7 +590,7 @@ fn compile_accepted_countries_for_mca(
|
|||||||
.map_err(KgraphError::GraphConstructionError)?;
|
.map_err(KgraphError::GraphConstructionError)?;
|
||||||
agg_nodes.push((
|
agg_nodes.push((
|
||||||
pm_object_country_value_node,
|
pm_object_country_value_node,
|
||||||
cgraph::Relation::Positive,
|
cgraph::Relation::Negative,
|
||||||
cgraph::Strength::Weak,
|
cgraph::Strength::Weak,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
@ -712,7 +712,7 @@ fn compile_accepted_currency_for_mca(
|
|||||||
.map_err(KgraphError::GraphConstructionError)?;
|
.map_err(KgraphError::GraphConstructionError)?;
|
||||||
agg_nodes.push((
|
agg_nodes.push((
|
||||||
pm_object_currency_value_node,
|
pm_object_currency_value_node,
|
||||||
cgraph::Relation::Positive,
|
cgraph::Relation::Negative,
|
||||||
cgraph::Strength::Weak,
|
cgraph::Strength::Weak,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user