Skip to content

Commit dd6cc22

Browse files
committed
add new course route
1 parent bd7a495 commit dd6cc22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/internal/router/route.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func SetupRoutes(app *fiber.App) {
8181
// Routes for courses
8282
app.Get("/courses/:user_id", handlers.Courses)
8383
app.Get("/course/:course_id", handlers.Course)
84+
app.Get("/course/", handlers.Course)
8485
app.Get("/modules/:course_id", handlers.Modules)
8586
app.Get("/content/:content_id", handlers.Content)
8687
app.Get("/all-content/:module_id", handlers.AllContent)

0 commit comments

Comments
 (0)