Skip to content

Commit

Permalink
run +nightly fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hrithikesh026 committed Oct 25, 2024
1 parent 38ad685 commit ba16759
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 6 additions & 3 deletions crates/router/src/core/fraud_check/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ use api_models::{
use common_enums::FrmSuggestion;
use common_utils::pii::SecretSerdeValue;
use hyperswitch_domain_models::payments::{payment_attempt::PaymentAttempt, PaymentIntent};
pub use hyperswitch_domain_models::router_request_types::fraud_check::{
Address, Destination, FrmFulfillmentRequest, FulfillmentStatus, Fulfillments, Product,
pub use hyperswitch_domain_models::{
router_request_types::fraud_check::{
Address, Destination, FrmFulfillmentRequest, FulfillmentStatus, Fulfillments, Product,
},
types::OrderDetailsWithAmount,
};
use masking::Serialize;
use serde::Deserialize;
use utoipa::ToSchema;
pub use hyperswitch_domain_models::types::OrderDetailsWithAmount;

use super::operation::BoxedFraudCheckOperation;
use crate::types::{
domain::MerchantAccount,
Expand Down
5 changes: 2 additions & 3 deletions crates/router/src/core/utils.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
use std::{collections::HashSet, marker::PhantomData, str::FromStr};

use api_models::enums::{DisputeStage, DisputeStatus};
#[cfg(feature = "payouts")]
use api_models::payouts::PayoutVendorAccountDetails;
use api_models::enums::{DisputeStage, DisputeStatus};
use hyperswitch_domain_models::types::OrderDetailsWithAmount;
use common_enums::{IntentStatus, RequestIncrementalAuthorization};
#[cfg(feature = "payouts")]
use common_utils::{crypto::Encryptable, pii::Email};
Expand All @@ -15,7 +14,7 @@ use common_utils::{
use error_stack::{report, ResultExt};
use hyperswitch_domain_models::{
merchant_connector_account::MerchantConnectorAccount, payment_address::PaymentAddress,
router_data::ErrorResponse,
router_data::ErrorResponse, types::OrderDetailsWithAmount,
};
#[cfg(feature = "payouts")]
use masking::{ExposeInterface, PeekInterface};
Expand Down

0 comments on commit ba16759

Please sign in to comment.