Skip to content

Commit

Permalink
refactor: resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
swangi-kumari committed Dec 4, 2023
1 parent afe50d2 commit 8501d60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/router/src/configs/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4136,7 +4136,8 @@ impl Default for super::settings::RequiredFields {
enums::Connector::Stripe,
RequiredFieldFinal {
mandate: HashMap::new(),
non_mandate: HashMap::from([
non_mandate: HashMap::new(),
common: HashMap::from([
(
"payment_method_data.bank_redirect.bancontact_card.billing_details.email".to_string(),
RequiredFieldInfo {
Expand All @@ -4156,14 +4157,14 @@ impl Default for super::settings::RequiredFields {
}
)
]),
common: HashMap::new(),
}
),
(
enums::Connector::Adyen,
RequiredFieldFinal {
mandate: HashMap::new(),
non_mandate: HashMap::from([
non_mandate: HashMap::new(),
common:HashMap::from([
(
"payment_method_data.bank_redirect.bancontact_card.card_number".to_string(),
RequiredFieldInfo {
Expand Down Expand Up @@ -4201,7 +4202,6 @@ impl Default for super::settings::RequiredFields {
}
)
]),
common: HashMap::new(),
}
)
]),
Expand Down

0 comments on commit 8501d60

Please sign in to comment.