mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
refactor(constraint_graph): handle PML for cases where setup_future_usage is not passed in payments (#6810)
This commit is contained in:
@ -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(|| {
|
||||
|
||||
Reference in New Issue
Block a user