import sorting

This commit is contained in:
Zynh0722 2023-11-05 11:40:26 -08:00
parent c15046ae30
commit b68746db56
3 changed files with 3 additions and 5 deletions

View file

@ -10,6 +10,7 @@ use axum::{
use cm_lib::{
hx_request::HxRequest,
models::{NewDrink, Shift},
render,
schema::shifts,
};
use diesel::{ExpressionMethods, OptionalExtension, QueryDsl, SelectableHelper};
@ -19,7 +20,6 @@ use serde::Deserialize;
use tokio_stream::{wrappers::errors::BroadcastStreamRecvError, StreamExt as _};
use crate::AppState;
use cm_lib::render;
pub(crate) fn router() -> axum::Router<AppState> {
axum::Router::new()

View file

@ -2,11 +2,10 @@ mod api;
mod management;
mod sse_handler;
use cm_lib::render;
use cm_lib::{
hx_request::HxRequest,
models::{Drink, Shift},
render,
report::GenerateDrinkReport,
schema::shifts,
};

View file

@ -1,9 +1,8 @@
use axum::{response::IntoResponse, routing::get};
use cm_lib::render;
use crate::AppState;
use cm_lib::render;
pub(crate) fn router() -> axum::Router<AppState> {
axum::Router::new()
.route("/", get(home))