Skip to content

Commit

Permalink
fix/error-handling
Browse files Browse the repository at this point in the history
  • Loading branch information
awasthi21 committed Feb 6, 2025
1 parent dbf7fb7 commit 6a846de
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,11 @@ fn create_card_details(
cardholder: CardHolder {
cardholder_name: item.router_data.get_billing_full_name()?,
email: item.router_data.request.get_email()?,
bill_addr_line1: billing.get_line1().ok().cloned(),
bill_addr_post_code: billing.get_zip().ok().cloned(),
bill_addr_city: billing.get_city().ok().cloned(),
bill_addr_state: billing.get_state().ok().cloned(),
bill_addr_country: billing.get_country().ok().cloned(),
bill_addr_line1: billing.get_line1().ok().clone(),
bill_addr_post_code: billing.get_zip().ok().clone(),
bill_addr_city: billing.get_city().ok().clone(),
bill_addr_state: billing.get_state().ok().clone(),
bill_addr_country: billing.get_country().ok().clone(),
},
});
}
Expand Down

0 comments on commit 6a846de

Please sign in to comment.