mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
fix(list): fix card network filtering (#684)
This commit is contained in:
@ -343,6 +343,10 @@ impl<'de> serde::Deserialize<'de> for ListPaymentMethodRequest {
|
||||
map.next_value()?,
|
||||
)?;
|
||||
}
|
||||
"card_network" => match output.card_networks.as_mut() {
|
||||
Some(inner) => inner.push(map.next_value()?),
|
||||
None => output.card_networks = Some(vec![map.next_value()?]),
|
||||
},
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user