chore: run formatter

This commit is contained in:
hyperswitch-bot[bot]
2025-10-24 12:28:58 +00:00
parent 1200a675d5
commit e8de4270f5
2 changed files with 3 additions and 5 deletions

View File

@ -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>,

View File

@ -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};