mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
fix(pm_auth): Fixed deserialize logic in pm_auth core (#5615)
This commit is contained in:
@ -346,7 +346,9 @@ async fn store_bank_details_in_payment_methods(
|
||||
> = HashMap::new();
|
||||
|
||||
for pm in payment_methods {
|
||||
if pm.payment_method == Some(enums::PaymentMethod::BankDebit) {
|
||||
if pm.payment_method == Some(enums::PaymentMethod::BankDebit)
|
||||
&& pm.payment_method_data.is_some()
|
||||
{
|
||||
let bank_details_pm_data = crypto_operation::<serde_json::Value, masking::WithType>(
|
||||
&(&state).into(),
|
||||
type_name!(storage::PaymentMethod),
|
||||
|
||||
Reference in New Issue
Block a user