fix(calendar): use r.Route subrouter to avoid chi path ambiguity with /channels/events/{eventID}

This commit is contained in:
2026-07-09 14:43:34 -04:00
parent 9a6f15662b
commit af913b9923
4 changed files with 14 additions and 3 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)