mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
feat(bank_redirects): modify api contract for sofort (#880)
This commit is contained in:
@ -701,6 +701,7 @@ fn get_sofort_extra_details(
|
||||
if let api_models::payments::BankRedirectData::Sofort {
|
||||
country,
|
||||
preferred_language,
|
||||
..
|
||||
} = b
|
||||
{
|
||||
(
|
||||
|
||||
@ -508,6 +508,7 @@ fn get_bank_specific_data(
|
||||
payments::BankRedirectData::Sofort {
|
||||
country,
|
||||
preferred_language,
|
||||
..
|
||||
} => Some(BankSpecificData::Sofort {
|
||||
country: country.to_owned(),
|
||||
preferred_language: preferred_language.to_owned(),
|
||||
|
||||
Reference in New Issue
Block a user