remove saved comments

This commit is contained in:
Zynh0722 2023-09-26 17:03:52 -07:00
parent ddbd2c330a
commit 20ae3a8717

View file

@ -63,30 +63,6 @@ async fn main() {
let state = AppState::init().await; 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 // build our application with a route
let app = Router::new() let app = Router::new()
.nest("/api", api::router()) .nest("/api", api::router())