mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
refactor(payment_methods): add BankDebit payment method data to new domain type to be used in connector module (#4238)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
@ -702,7 +702,7 @@ pub async fn retrieve_payment_method_from_auth_service(
|
||||
|
||||
let mut bank_type = None;
|
||||
if let Some(account_type) = bank_account.account_type.clone() {
|
||||
bank_type = api_models::enums::BankType::from_str(account_type.as_str())
|
||||
bank_type = common_enums::BankType::from_str(account_type.as_str())
|
||||
.map_err(|error| logger::error!(%error,"unable to parse account_type {account_type:?}"))
|
||||
.ok();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user