From 2cf861b04c8010eeeff6d86902f888c8e54701b5 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sun, 5 Dec 2021 15:31:43 +0100 Subject: [PATCH] fixed routing collision --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0941390..2812f4e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -255,7 +255,7 @@ async fn get_tomorrow_class_timetable( Json::from(timetable) } -#[get("//")] +#[get("//date/")] async fn get_daily_class_timetable( conn: DbConn, class: String,