import sorting
parent
c15046ae30
commit
b68746db56
|
@ -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()
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue