Skip to content

Commit

Permalink
Issue Hirevo#183 : fix : remove wrongly expanded type
Browse files Browse the repository at this point in the history
  • Loading branch information
CrabeDeFrance committed Dec 4, 2023
1 parent 8f7237c commit b0261f6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/alexandrie/src/frontend/categories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub(crate) async fn get(
return Ok(Either::E2(Redirect::to("/account/login")));
}

let db: &crate::db::database::Database<SqliteConnection> = &state.db;
let db = &state.db;
let state = Arc::clone(&state);

let transaction = db.transaction(move |conn| {
Expand Down
2 changes: 1 addition & 1 deletion crates/alexandrie/src/frontend/categories_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub(crate) async fn get(
return Ok(Either::E2(Redirect::to("/account/login")));
}

let db: &crate::db::database::Database<SqliteConnection> = &state.db;
let db = &state.db;
let state = Arc::clone(&state);

let transaction = db.transaction(move |conn| {
Expand Down
2 changes: 1 addition & 1 deletion crates/alexandrie/src/frontend/keywords.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub(crate) async fn get(
return Ok(Either::E2(Redirect::to("/account/login")));
}

let db: &crate::db::database::Database<SqliteConnection> = &state.db;
let db = &state.db;
let state = Arc::clone(&state);

let transaction = db.transaction(move |conn| {
Expand Down
2 changes: 1 addition & 1 deletion crates/alexandrie/src/frontend/keywords_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub(crate) async fn get(
return Ok(Either::E2(Redirect::to("/account/login")));
}

let db: &crate::db::database::Database<SqliteConnection> = &state.db;
let db = &state.db;
let state = Arc::clone(&state);

let transaction = db.transaction(move |conn| {
Expand Down

0 comments on commit b0261f6

Please sign in to comment.