allow showing stat in kiosk mode

This commit is contained in:
2023-10-01 20:50:23 +02:00
parent 5315fe8dfc
commit e67b345789
3 changed files with 20 additions and 5 deletions

View File

@ -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))