Skip to content

Commit

Permalink
fix: Fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak1799 committed Dec 17, 2024
1 parent 07fd9d8 commit dfe8d54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/router/src/core/payment_methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ pub async fn create_payment_method(

db.find_customer_by_global_id(
key_manager_state,
customer_id.get_string_repr(),
&customer_id,
merchant_account.get_id(),
key_store,
merchant_account.storage_scheme,
Expand Down Expand Up @@ -974,7 +974,7 @@ pub async fn payment_method_intent_create(

db.find_customer_by_global_id(
key_manager_state,
customer_id.get_string_repr(),
&customer_id,
merchant_account.get_id(),
key_store,
merchant_account.storage_scheme,
Expand Down Expand Up @@ -1058,7 +1058,7 @@ pub async fn payment_method_intent_confirm(

let customer_id = payment_method.customer_id.to_owned();
db.find_customer_by_global_id(
&(state.into()),
key_manager_state,
&customer_id,
merchant_account.get_id(),
key_store,
Expand Down

0 comments on commit dfe8d54

Please sign in to comment.