Skip to content

Commit

Permalink
chore: cargo clippy v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Narayanbhat166 committed Oct 13, 2024
1 parent 1d6f70f commit 8ceb211
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/api_models/src/payments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use std::{
};
pub mod additional_info;
use cards::CardNumber;
#[cfg(feature = "v2")]
use common_utils::id_type::GlobalPaymentId;
use common_utils::{
consts::default_payments_list_limit,
crypto,
Expand Down Expand Up @@ -295,7 +293,7 @@ impl PaymentsCreateIntentRequest {
pub struct PaymentsCreateIntentResponse {
/// Global Payment Id for the payment
#[schema(value_type = String)]
pub id: GlobalPaymentId,
pub id: id_type::GlobalPaymentId,

/// The amount details for the payment
pub amount_details: AmountDetailsResponse,
Expand Down

0 comments on commit 8ceb211

Please sign in to comment.