Skip to content

Commit

Permalink
fix cargo check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hrithikesh026 committed Nov 5, 2024
1 parent be77504 commit 6645d06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions crates/hyperswitch_domain_models/src/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ use std::marker::PhantomData;

#[cfg(feature = "v2")]
use api_models::payments::Address;
#[cfg(feature = "v2")]
use api_models::payments::OrderDetailsWithAmount;
use common_utils::{
self,
crypto::Encryptable,
Expand Down
2 changes: 1 addition & 1 deletion crates/router/src/routes/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ pub async fn payments_get_intent(
state,
&req,
payload,
|state, auth: auth::AuthenticationDataV2, req, req_state| {
|state, auth: auth::AuthenticationData, req, req_state| {
payments::payments_intent_core::<
api_types::PaymentGetIntent,
payment_types::PaymentsIntentResponse,
Expand Down

0 comments on commit 6645d06

Please sign in to comment.