refactor(address): change address to domain address in application (#6608)

Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Narayan Bhat
2024-12-04 15:02:43 +05:30
committed by GitHub
parent fa21ef892d
commit 938b2a898e
69 changed files with 412 additions and 236 deletions

View File

@ -108,7 +108,7 @@ pub async fn construct_payout_router_data<'a, F>(
}
});
let address = PaymentAddress::new(None, billing_address, None, None);
let address = PaymentAddress::new(None, billing_address.map(From::from), None, None);
let test_mode: Option<bool> = merchant_connector_account.is_test_mode_on();
let payouts = &payout_data.payouts;