mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
refactor: use business profile domain models instead of diesel models (#5566)
This commit is contained in:
@ -51,7 +51,7 @@ pub async fn retrieve_payment_method(
|
||||
payment_intent: &PaymentIntent,
|
||||
payment_attempt: &PaymentAttempt,
|
||||
merchant_key_store: &domain::MerchantKeyStore,
|
||||
business_profile: Option<&diesel_models::business_profile::BusinessProfile>,
|
||||
business_profile: Option<&domain::BusinessProfile>,
|
||||
) -> RouterResult<(Option<payments::PaymentMethodData>, Option<String>)> {
|
||||
match pm_data {
|
||||
pm_opt @ Some(pm @ api::PaymentMethodData::Card(_)) => {
|
||||
|
||||
Reference in New Issue
Block a user