From 10a0e8239285911a856fd07b7bce44292627d341 Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 5 Mar 2024 09:33:18 +0100 Subject: [PATCH 1/2] fix ci --- src/tera/log.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tera/log.rs b/src/tera/log.rs index e2dca51..e5fba0c 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -96,7 +96,7 @@ async fn show(db: &State, user: DonauLinzUser) -> Template { ) } -#[get("/show?")] +#[get("/show?", rank = 2)] async fn show_for_year(db: &State, user: AdminUser, year: i32) -> Template { let logs = Logbook::completed_in_year(db, year).await; -- 2.45.2 From 1a482db9e245af060f7e8329e6d985ccc744563d Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 5 Mar 2024 09:34:50 +0100 Subject: [PATCH 2/2] fix ci --- src/tera/log.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tera/log.rs b/src/tera/log.rs index e5fba0c..3ff330b 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -86,7 +86,7 @@ async fn index( Template::render("log", context.into_json()) } -#[get("/show", rank = 2)] +#[get("/show", rank = 3)] async fn show(db: &State, user: DonauLinzUser) -> Template { let logs = Logbook::completed(db).await; -- 2.45.2