mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
fix: return nick name for each card while listing saved cards (#1391)
Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com>
This commit is contained in:
@ -834,6 +834,7 @@ pub(crate) async fn get_payment_method_create_request(
|
||||
card_exp_month: card.card_exp_month.clone(),
|
||||
card_exp_year: card.card_exp_year.clone(),
|
||||
card_holder_name: Some(card.card_holder_name.clone()),
|
||||
nick_name: card.nick_name.clone(),
|
||||
};
|
||||
let customer_id = customer.customer_id.clone();
|
||||
let payment_method_request = api::PaymentMethodCreate {
|
||||
|
||||
Reference in New Issue
Block a user