Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 20, 2023
1 parent cd43bfe commit fbccb7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/router/src/core/user.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use crate::utils::user as utils;
use api_models::user as api;
use diesel_models::enums::UserStatus;
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(
Expand Down
11 changes: 7 additions & 4 deletions crates/router/src/utils/user.rs
Original file line number Diff line number Diff line change
@@ -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(
Expand Down

0 comments on commit fbccb7d

Please sign in to comment.