From e904d0fa0dc01767f131dc18e6533bbd2549c8b9 Mon Sep 17 00:00:00 2001 From: Prajjwal Kumar Date: Mon, 26 Aug 2024 23:30:21 +0530 Subject: [PATCH] refactor(euclid): make the disabled node's relation as negative (#5701) --- crates/router/src/core/payment_methods/utils.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/router/src/core/payment_methods/utils.rs b/crates/router/src/core/payment_methods/utils.rs index 0aad71908931..1afdaaab0622 100644 --- a/crates/router/src/core/payment_methods/utils.rs +++ b/crates/router/src/core/payment_methods/utils.rs @@ -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, )); } @@ -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, )); }