mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
chore: run formatter
This commit is contained in:
@ -442,7 +442,7 @@ mod u16_wrappers {
|
||||
use serde::{de::Error, Deserialize, Serialize};
|
||||
|
||||
use crate::consts::{
|
||||
CUSTOMER_LIST_LOWER_LIMIT, CUSTOMER_LIST_UPPER_LIMIT, CUSTOMER_LIST_DEFAULT_LIMIT,
|
||||
CUSTOMER_LIST_DEFAULT_LIMIT, CUSTOMER_LIST_LOWER_LIMIT, CUSTOMER_LIST_UPPER_LIMIT,
|
||||
};
|
||||
|
||||
/// Customer list limit wrapper with automatic validation
|
||||
@ -488,9 +488,7 @@ mod u16_wrappers {
|
||||
}
|
||||
}
|
||||
|
||||
impl diesel::serialize::ToSql<diesel::sql_types::SmallInt, diesel::pg::Pg>
|
||||
for CustomerListLimit
|
||||
{
|
||||
impl diesel::serialize::ToSql<diesel::sql_types::SmallInt, diesel::pg::Pg> for CustomerListLimit {
|
||||
fn to_sql<'b>(
|
||||
&'b self,
|
||||
out: &mut diesel::serialize::Output<'b, '_, diesel::pg::Pg>,
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
use common_types::consts::{CUSTOMER_LIST_LOWER_LIMIT, CUSTOMER_LIST_UPPER_LIMIT};
|
||||
use common_utils::{
|
||||
crypto::Encryptable,
|
||||
errors::ReportSwitchExt,
|
||||
@ -8,7 +9,6 @@ use common_utils::{
|
||||
Description,
|
||||
},
|
||||
};
|
||||
use common_types::consts::{CUSTOMER_LIST_LOWER_LIMIT, CUSTOMER_LIST_UPPER_LIMIT};
|
||||
use error_stack::{report, ResultExt};
|
||||
use hyperswitch_domain_models::payment_methods as payment_methods_domain;
|
||||
use masking::{ExposeInterface, Secret, SwitchStrategy};
|
||||
|
||||
Reference in New Issue
Block a user