fixed routing collision
This commit is contained in:
parent
f6156559f8
commit
2cf861b04c
@ -255,7 +255,7 @@ async fn get_tomorrow_class_timetable(
|
|||||||
Json::from(timetable)
|
Json::from(timetable)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[get("/<class>/<date>")]
|
#[get("/<class>/date/<date>")]
|
||||||
async fn get_daily_class_timetable(
|
async fn get_daily_class_timetable(
|
||||||
conn: DbConn,
|
conn: DbConn,
|
||||||
class: String,
|
class: String,
|
||||||
|
Reference in New Issue
Block a user