Skip to content

Commit

Permalink
refactor(constraint_graph): handle PML for cases where setup_future_u…
Browse files Browse the repository at this point in the history
…sage is not passed in payments (#6810)
  • Loading branch information
prajjwalkumar17 authored Dec 17, 2024
1 parent c154a38 commit e8bfd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/core/payment_methods/cards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(|| {
Expand Down

0 comments on commit e8bfd0e

Please sign in to comment.