mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +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(); |     > = HashMap::new(); | ||||||
|  |  | ||||||
|     for pm in payment_methods { |     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>( |             let bank_details_pm_data = crypto_operation::<serde_json::Value, masking::WithType>( | ||||||
|                 &(&state).into(), |                 &(&state).into(), | ||||||
|                 type_name!(storage::PaymentMethod), |                 type_name!(storage::PaymentMethod), | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Sarthak Soni
					Sarthak Soni