From fbccb7dd07e80b566bfceabf103765b7750eb8e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:33:47 +0000 Subject: [PATCH] chore: run formatter --- crates/router/src/core/user.rs | 2 +- crates/router/src/utils/user.rs | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/crates/router/src/core/user.rs b/crates/router/src/core/user.rs index 26c1351b4a78..e3bee688fd43 100644 --- a/crates/router/src/core/user.rs +++ b/crates/router/src/core/user.rs @@ -1,4 +1,3 @@ -use crate::utils::user as utils; use api_models::user as api; use diesel_models::enums::UserStatus; use masking::ExposeInterface; @@ -6,6 +5,7 @@ use masking::ExposeInterface; use super::errors::{UserErrors, UserResponse}; use crate::{ consts::user as consts, routes::AppState, services::ApplicationResponse, types::domain, + utils::user as utils, }; pub async fn signup( diff --git a/crates/router/src/utils/user.rs b/crates/router/src/utils/user.rs index f2dc9f6ac652..b429543219c7 100644 --- a/crates/router/src/utils/user.rs +++ b/crates/router/src/utils/user.rs @@ -1,11 +1,14 @@ -use crate::{ - core::errors::{UserResult, UserErrors}, routes::AppState, services::authentication::AuthToken, - types::domain::UserFromStorage, -}; use diesel_models::user_role::UserRole; use error_stack::ResultExt; use masking::Secret; +use crate::{ + core::errors::{UserErrors, UserResult}, + routes::AppState, + services::authentication::AuthToken, + types::domain::UserFromStorage, +}; + pub mod password; pub async fn generate_jwt_auth_token(