Skip to content

Commit

Permalink
fix fix use user mod
Browse files Browse the repository at this point in the history
  • Loading branch information
fankaiLiu committed Dec 11, 2023
1 parent fd3f21b commit 135d068
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/template/src/entities/mod.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#if is_sqlx}}
pub mod user;
pub mod users;
{{/if}}
{{#if is_sea_orm}}
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.3
Expand Down
2 changes: 1 addition & 1 deletion src/template/src/services/user.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::{
UserUpdateRequest,
},
middleware::jwt::get_token,
entities::user::User,
entities::users::User,
utils::rand_utils,
};
{{/if}}
Expand Down

0 comments on commit 135d068

Please sign in to comment.