allow showing stat in kiosk mode
This commit is contained in:
@ -84,7 +84,7 @@ async fn show(db: &State<SqlitePool>, user: User) -> Template {
|
||||
}
|
||||
|
||||
#[get("/show")]
|
||||
async fn show_kiosk(db: &State<SqlitePool>, _kios: KioskCookie) -> Template {
|
||||
async fn show_kiosk(db: &State<SqlitePool>, _kiosk: KioskCookie) -> Template {
|
||||
let logs = Logbook::completed(db).await;
|
||||
|
||||
Template::render("log.completed", context!(logs))
|
||||
|
Reference in New Issue
Block a user