mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
fix(routing): do not update perform_session_flow_routing output if the SessionRoutingChoice is none (#5336)
This commit is contained in:
@ -1009,7 +1009,9 @@ pub async fn perform_session_flow_routing(
|
||||
});
|
||||
}
|
||||
}
|
||||
result.insert(pm_type, session_routing_choice);
|
||||
if !session_routing_choice.is_empty() {
|
||||
result.insert(pm_type, session_routing_choice);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user