refactor(constraint_graph): handle PML for cases where setup_future_usage is not passed in payments (#6810)

This commit is contained in:
Prajjwal Kumar
2024-12-17 15:55:50 +05:30
committed by GitHub
parent c154a38559
commit e8bfd0e227

View File

@ -4593,7 +4593,7 @@ pub async fn filter_payment_methods(
.map(|future_usage| {
future_usage == common_enums::FutureUsage::OnSession
})
.unwrap_or(false)
.unwrap_or(true)
})
.and_then(|res| {
res.then(|| {