remove saved comments

main
Zynh0722 2023-09-26 17:03:52 -07:00
parent ddbd2c330a
commit 20ae3a8717
1 changed files with 0 additions and 24 deletions

View File

@ -63,30 +63,6 @@ async fn main() {
let state = AppState::init().await;
// let shift = {
// let mut conn = state.connection.get().await.unwrap();
// conn.transaction(|conn| {
// use cm_lib::schema::shifts;
//
// async move {
// diesel::insert_into(shifts::table)
// .default_values()
// .execute(conn)
// .await?;
//
// shifts::table
// .order(shifts::id.desc())
// .select(Shift::as_select())
// .first(conn)
// .await
// }
// .scope_boxed()
// })
// .await
// };
// tracing::debug!("{shift:?}");
// build our application with a route
let app = Router::new()
.nest("/api", api::router())