Skip to content

Commit

Permalink
refactor: remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
kashif-m committed Nov 10, 2024
1 parent 4363515 commit fd38e62
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,7 @@ async fn payment_response_update_tracker<F: Clone, T: types::Capturable>(
#[cfg(all(feature = "v1", feature = "dynamic_routing"))] business_profile: &domain::Profile,
) -> RouterResult<PaymentData<F>> {
// Update additional payment data with the payment method response that we received from connector

let additional_payment_method_data = match payment_data.payment_method_data.clone() {
Some(payment_method_data) => match payment_method_data {
hyperswitch_domain_models::payment_method_data::PaymentMethodData::Card(_)
Expand Down

0 comments on commit fd38e62

Please sign in to comment.