Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperswitch-bot[bot] committed Dec 4, 2023
1 parent ff168a1 commit 4ba6d65
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/api_models/src/events/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use crate::user::{
GetMetaDataRequest, GetMetaDataResponse, GetMultipleMetaDataPayload, SetMetaDataRequest,
},
AuthorizeResponse, ChangePasswordRequest, ConnectAccountRequest, CreateInternalUserRequest,
DashboardEntryResponse, SignUpRequest, SignUpWithMerchantIdRequest, SwitchMerchantIdRequest,
UserMerchantCreate, GetUsersResponse,
DashboardEntryResponse, GetUsersResponse, SignUpRequest, SignUpWithMerchantIdRequest,
SwitchMerchantIdRequest, UserMerchantCreate,
};

impl ApiEventMetric for DashboardEntryResponse {
Expand Down
5 changes: 4 additions & 1 deletion crates/router/src/types/domain/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ use crate::{
},
db::StorageInterface,
routes::AppState,
services::{authentication::UserFromToken, authorization::{info, predefined_permissions}},
services::{
authentication::UserFromToken,
authorization::{info, predefined_permissions},
},
types::transformers::ForeignFrom,
utils::user::password,
};
Expand Down
2 changes: 1 addition & 1 deletion crates/router/src/utils/user.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use api_models::user as user_api;
use diesel_models::{user_role::UserRole, enums::UserStatus};
use diesel_models::{enums::UserStatus, user_role::UserRole};
use error_stack::ResultExt;
use masking::Secret;

Expand Down

0 comments on commit 4ba6d65

Please sign in to comment.