File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,5 +13,6 @@ func EventsRoute(router *gin.Engine) {
1313 eventsGroup .OPTIONS ("" , controllers .Preflight )
1414 eventsGroup .GET (":date" , controllers .Events )
1515 eventsGroup .GET (":date/:building" , controllers .EventsByBuilding )
16- eventsGroup .GET (":date/:building/:room/sections" , controllers .EventsByRoomSection )
16+ eventsGroup .GET (":date/:building/:room" , controllers .EventsByRoom )
17+ eventsGroup .GET (":date/:building/:room/sections" , controllers .SectionsByRoomDetailed )
1718}
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ func EventsRoute(router *gin.Engine) {
116116 {
117117 eventsGroup .GET ("/:date" , controllers .Events )
118118 eventsGroup .GET ("/:date/:building" , controllers .EventsByBuilding )
119- eventsGroup .GET ("/:date/:building/:room/sections" , controllers .EventsByRoomSection ) // ✅ this one
119+ eventsGroup .GET ("/:date/:building/:room/sections" , controllers .EventsByRoom )
120+ eventsGroup .GET ("/:date/:building/:room/sections" , controllers .SectionsByRoomDetailed )
120121 }
121122}
You can’t perform that action at this time.
0 commit comments