Skip to content

Commit

Permalink
fixed clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
sahkal committed Dec 17, 2024
1 parent 080bb5e commit d74937e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/core/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3452,7 +3452,7 @@ pub async fn get_session_token_for_click_to_pay(
.attach_printable("failed to parse customer data from payment intent")?;
optional_customer_details
.as_ref()
.map(|details| validate_customer_details_for_click_to_pay(details))
.map(validate_customer_details_for_click_to_pay)
.transpose()?;

Ok(api_models::payments::SessionToken::ClickToPay(Box::new(
Expand Down

0 comments on commit d74937e

Please sign in to comment.