Skip to content

Commit

Permalink
chore: fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshayaFoiger committed Jan 8, 2025
1 parent 794aea5 commit 09cbc25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/router/src/connector/stripe/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ fn create_stripe_payment_method(
payment_method_token: Option<types::PaymentMethodToken>,
is_customer_initiated_mandate_payment: Option<bool>,
billing_address: StripeBillingAddress,
is_request_overcapture: Option<bool>,
request_overcapture: Option<bool>,
) -> Result<
(
StripePaymentMethodData,
Expand All @@ -1172,7 +1172,7 @@ fn create_stripe_payment_method(
StripePaymentMethodData::try_from((
card_details,
payment_method_auth_type,
is_request_overcapture,
request_overcapture,
))?,
Some(StripePaymentMethodType::Card),
billing_address,
Expand Down
2 changes: 1 addition & 1 deletion crates/router/src/core/payments/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ where
request_external_three_ds_authentication: payment_intent
.request_external_three_ds_authentication
.clone(),
request_overcapture: payment_intent.request_overcapture.clone(),
request_overcapture: payment_intent.request_overcapture,
},
vec![],
)))
Expand Down

0 comments on commit 09cbc25

Please sign in to comment.