fixed routing collision

This commit is contained in:
Denys Konovalov 2021-12-05 15:31:43 +01:00
parent f6156559f8
commit 2cf861b04c

@ -255,7 +255,7 @@ async fn get_tomorrow_class_timetable(
Json::from(timetable)
}
#[get("/<class>/<date>")]
#[get("/<class>/date/<date>")]
async fn get_daily_class_timetable(
conn: DbConn,
class: String,