fix(routing): do not update perform_session_flow_routing output if the SessionRoutingChoice is none (#5336)

This commit is contained in:
Shankar Singh C
2024-07-16 16:39:26 +05:30
committed by GitHub
parent 926dcd3a3c
commit f07689e75b

View File

@ -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);
}
}
}