Skip to content

Commit

Permalink
refactor: resolve conflict with main
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakilmostak committed Feb 6, 2025
1 parent b9cb94c commit f04391a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/hyperswitch_connectors/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1302,11 +1302,11 @@ impl AddressDetailsData for AddressDetails {
}

fn get_optional_first_name(&self) -> Option<Secret<String>> {
self.first_name.clone()
self.first_name.clone().map(From::from)
}

fn get_optional_last_name(&self) -> Option<Secret<String>> {
self.last_name.clone()
self.last_name.clone().map(From::from)
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/router/src/core/unified_authentication_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl<F: Clone + Sync> UnifiedAuthenticationService<F> for ExternalAuthentication
payment_data_type: None,
encrypted_src_card_details: None,
card_expiry_date: card.card_exp_year.clone(),
cardholder_name: card.card_holder_name.clone(),
cardholder_name: card.card_holder_name.clone().map(From::from),
card_token_number: card.card_cvc.clone(),
account_type: card.card_network.clone(),
})
Expand Down

0 comments on commit f04391a

Please sign in to comment.