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)
|
||||
}
|
||||
|
||||
#[get("/<class>/<date>")]
|
||||
#[get("/<class>/date/<date>")]
|
||||
async fn get_daily_class_timetable(
|
||||
conn: DbConn,
|
||||
class: String,
|
||||
|
Reference in New Issue
Block a user