Skip to content

Commit

Permalink
code fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Jan 19, 2025
1 parent f2b6417 commit 201f3c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/classic/diesel/src/routers/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub async fn login_page(res: &mut Response) -> AppResult<()> {
res.render(Text::Html(hello_tmpl.render().unwrap()));
Ok(())
}

#[derive(Deserialize, ToSchema, Default, Debug)]
pub struct LoginInData {
pub username: String,
Expand Down
1 change: 1 addition & 0 deletions templates/classic/mongodb/src/routers/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub async fn login_page(res: &mut Response) -> AppResult<()> {
res.render(Text::Html(hello_tmpl.render().unwrap()));
Ok(())
}

#[derive(Deserialize, ToSchema, Default, Debug)]
pub struct LoginInData {
pub username: String,
Expand Down
1 change: 1 addition & 0 deletions templates/classic/sqlx/src/routers/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub async fn login_page(res: &mut Response) -> AppResult<()> {
res.render(Text::Html(hello_tmpl.render().unwrap()));
Ok(())
}

#[derive(Deserialize, ToSchema, Default, Debug)]
pub struct LoginInData {
pub username: String,
Expand Down

0 comments on commit 201f3c9

Please sign in to comment.