fix(calendar): nest routes under /channels for correct URL matching

This commit is contained in:
2026-07-09 14:43:34 -04:00
parent 9a6f15662b
commit bbd9a6c264
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func (h *Handler) RegisterRoutes(r chi.Router) {
r.Get("/{channelID}/threads", h.ListThreads)
r.Patch("/threads/{threadID}", h.UpdateThread)
h.registerForumRoutes(r)
h.registerCalendarRoutes(r)
h.RegisterCalendarRoutes(r)
h.registerDocRoutes(r)
h.registerListRoutes(r)
h.registerOverrideRoutes(r)